Example #1
0
    def test_is_test_class_negative(self):
        class A(object):
            pass

        self.assertFalse(tpu_test_wrapper._is_test_class(A))
Example #2
0
    def test_is_test_class_positive(self):
        class A(test.TestCase):
            pass

        self.assertTrue(tpu_test_wrapper._is_test_class(A))