Ejemplo n.º 1
0
 def test_that_get_class_name_works_with_a_string_instance(self):
     self.assertEqual("str", helper.cls_name(str()))
Ejemplo n.º 2
0
 def test_that_get_class_name_works_with_a_tuple(self):
     self.assertEquals("tuple", helper.cls_name((3,"pie", [])))
Ejemplo n.º 3
0
 def test_that_get_class_name_works_with_a_4(self):
     self.assertEquals("int", helper.cls_name(4))
Ejemplo n.º 4
0
 def test_that_get_class_name_works_with_a_string_instance(self):
     self.assertEqual("str", helper.cls_name(''))
Ejemplo n.º 5
0
 def test_that_get_class_name_works_with_a_tuple(self):
     self.assertEquals("tuple", helper.cls_name((3,"pie", [])))
Ejemplo n.º 6
0
 def test_that_get_class_name_works_with_a_4(self):
     self.assertEquals("int", helper.cls_name(4))