Lines Matching refs:test_dir
23 # Each package will be created in test_dir, and test_dir will be
25 # Modulefinder searches in a path that contains test_dir, plus
300 def create_package(test_dir, source):
313 ofi = open_file(os.path.join(test_dir, line.strip()))
320 self.test_dir = tempfile.mkdtemp()
321 self.test_path = [self.test_dir, os.path.dirname(tempfile.__file__)]
324 shutil.rmtree(self.test_dir)
328 create_package(self.test_dir, source)
384 base_path = os.path.join(self.test_dir, 'a')
394 old_path = os.path.join(self.test_dir, 'a', 'module.py')
395 new_path = os.path.join(self.test_dir, 'a', 'spam.py')