in Python by
Q:

Q. How many tests are run, when below code is tested using unittest

import unittest

class SampleTestClass(unittest.TestCase):

    def sample_test1(self):

        self.assertEqual('HELLO', 'hello'.upper())

    def test_sample2(self):

        self.assertEqual(3*3, 9)

a) 2

b) 1 

c) 3

d) 0

1 Answer

0 votes
by
Ans is

1

Related questions

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