Ejemplo n.º 1
0
 def test_complex_happy_path(self):
     # Ensure we can recursively resolve object attributes if necessary.
     self.assertEquals(runner.resolve("os.path", "exists.__name__"),
                       "exists")
Ejemplo n.º 2
0
    def test_simple_happy_path(self):
        from os.path import exists

        self.assertIs(runner.resolve("os.path", "exists"), exists)
Ejemplo n.º 3
0
 def test_complex_happy_path(self):
     # Ensure we can recursively resolve object attributes if necessary.
     self.assertEquals(
         runner.resolve('os.path', 'exists.__name__'),
         'exists')
Ejemplo n.º 4
0
 def test_simple_happy_path(self):
     from os.path import exists
     self.assertIs(runner.resolve('os.path', 'exists'), exists)
Ejemplo n.º 5
0
 def test_simple_happy_path(self):
     from os.path import exists
     self.assertIs(runner.resolve('os.path', 'exists'), exists)