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
Click here to read more about Python
Click here to read more about Insurance

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 Jul 10, 2020 in Python by GeorgeBell
0 votes
asked Jul 16, 2020 in Python by GeorgeBell
0 votes
asked May 15, 2019 in Python by Derya
...