예제 #1
0
파일: test_utils.py 프로젝트: naterh/pyrax
 def test_import_class(self):
     cls_string = "tests.unit.fakes.FakeManager"
     ret = utils.import_class(cls_string)
     self.assertTrue(ret is fakes.FakeManager)
예제 #2
0
 def test_import_class(self):
     cls_string = "pyrax.utils.SelfDeletingTempfile"
     ret = utils.import_class(cls_string)
     self.assertTrue(ret is utils.SelfDeletingTempfile)
예제 #3
0
 def test_import_class(self):
     cls_string = "tests.unit.fakes.FakeManager"
     ret = utils.import_class(cls_string)
     self.assertTrue(ret is fakes.FakeManager)
예제 #4
0
파일: test_utils.py 프로젝트: CarlFK/pyrax
 def test_import_class(self):
     cls_string = "pyrax.utils.SelfDeletingTempfile"
     ret = utils.import_class(cls_string)
     self.assertTrue(ret is utils.SelfDeletingTempfile)