Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How many tests are run, when below code is tested using unittest?
Home
Python
How many tests are run, when below code is tested using unittest?
asked
Jul 16, 2020
in
Python
by
GeorgeBell
Q. How many tests are run, when below code is tested using unittest?
import unittest
def test_sample1():
assert 3 == 3
class SampleTestClass(unittest.TestCase):
def test_sample2(self):
self.assertEqual(3, 3)
1
2
0
3
#python
Python-questions-answers
Please
log in
or
register
to answer this question.
0
Answers
...