Exemplo n.º 1
0
 def test_get_default_test_name_no_context(self):
     """Verify that get_default_test_name raises if context is blank or invalid"""
     self.assertEqual(CompileTags.get_default_test_name(self.__class__), 'CompileTagsTestsTests')
     self.assertRaises(AttributeError, CompileTags.get_default_test_name, None)
Exemplo n.º 2
0
 def test_get_default_test_name(self):
     self.assertEqual(CompileTags.get_default_test_name(self.__class__), 'CompileTagsTestsTests')