Esempio n. 1
0
 def hook(self, entry):
     return _bootstrap._file_path_hook(entry)
Esempio n. 2
0
 def hook(self, entry):
     return _bootstrap._file_path_hook(entry)
Esempio n. 3
0
 def test_success(self):
     with source_util.create_modules('dummy') as mapping:
         self.assertTrue(
             hasattr(_bootstrap._file_path_hook(mapping['.root']),
                     'find_module'))
Esempio n. 4
0
 def test_empty_string(self):
     # The empty string represents the cwd.
     self.assertTrue(hasattr(_bootstrap._file_path_hook(''), 'find_module'))
Esempio n. 5
0
 def test_success(self):
     with source_util.create_modules('dummy') as mapping:
         self.assertTrue(hasattr(_bootstrap._file_path_hook(mapping['.root']),
                              'find_module'))
Esempio n. 6
0
 def test_empty_string(self):
     # The empty string represents the cwd.
     self.assertTrue(hasattr(_bootstrap._file_path_hook(''), 'find_module'))