Exemplo n.º 1
0
    def test_all_ok(self):

        func = import_function('os.path.join')

        self.assertTrue(inspect.isfunction(func))
Exemplo n.º 2
0
 def raises_value_error(self, func_addr):
     with self.assertRaises(ValueError):
         import_function(func_addr)