in Python by
Q:

Q. Which of the following statement ensures that all tests present in sample_test_module.py are run while using the command python sample_test_module.py

1. unittest.discover

2. unittest.run

3. unittest.main 

4. unittest.test

1 Answer

0 votes
by
Ans is

unittest.main

Related questions

+1 vote
asked Jul 16, 2020 in Python by GeorgeBell
0 votes
asked Jul 2, 2020 in Python by GeorgeBell
0 votes
asked May 17, 2019 in Python by Derya
0 votes
asked Jul 2, 2020 in Python by GeorgeBell
...