0 votes
in Python by

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)

a). 2 ---

b). 1 

c). 3

d). 0 

1 Answer

0 votes
by
Ans is A

Related questions

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