def test_create_runner_from_tuple_str(self):
     self.assertTrue(isinstance(_create_runner(("unittest.TextTestRunner", Mock())), TextTestRunner))
 def test_create_runner_from_str(self):
     self.assertTrue(isinstance(_create_runner("unittest.TextTestRunner"), TextTestRunner))
 def test_create_runner_from_tuple_class(self):
     self.assertTrue(isinstance(_create_runner((TextTestRunner, Mock())), TextTestRunner))
 def test_create_runner_from_class(self):
     self.assertTrue(isinstance(_create_runner(TextTestRunner), TextTestRunner))
Exemplo n.º 5
0
 def test_create_runner_from_tuple_str(self):
     self.assertTrue(isinstance(_create_runner(("unittest.TextTestRunner", Mock())), TextTestRunner))
Exemplo n.º 6
0
 def test_create_runner_from_tuple_class(self):
     self.assertTrue(isinstance(_create_runner((TextTestRunner, Mock())), TextTestRunner))
Exemplo n.º 7
0
 def test_create_runner_from_str(self):
     self.assertTrue(isinstance(_create_runner("unittest.TextTestRunner"), TextTestRunner))
Exemplo n.º 8
0
 def test_create_runner_from_class(self):
     self.assertTrue(isinstance(_create_runner(TextTestRunner), TextTestRunner))