예제 #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")
예제 #2
0
    def test_simple_happy_path(self):
        from os.path import exists

        self.assertIs(runner.resolve("os.path", "exists"), exists)
예제 #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')
예제 #4
0
 def test_simple_happy_path(self):
     from os.path import exists
     self.assertIs(runner.resolve('os.path', 'exists'), exists)
예제 #5
0
 def test_simple_happy_path(self):
     from os.path import exists
     self.assertIs(runner.resolve('os.path', 'exists'), exists)