in Python by (5.2k points)

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 (5.2k points)
Ans is

unittest.main

Related questions

+1 vote
asked Jul 16, 2020 in Python by GeorgeBell (5.2k points)
0 votes
asked Jul 2, 2020 in Python by GeorgeBell (5.2k points)
0 votes
asked Jun 30, 2020 in Python by GeorgeBell (5.2k points)
...