Пример #1
0
 def test_check_class_noclass(self):
     just_a_var = 'foo'
     assert check_class(just_a_var, unittest.TestCase) is None
Пример #2
0
 def test_check_class_noparent(self):
     assert check_class(TestClassNoParent, tests.tools.assigner.fixturemodules.ModuleTesterBaseClass) is None
Пример #3
0
 def test_check_class(self):
     assert check_class(ModulesTests, unittest.TestCase) == ModulesTests