Lines Matching refs:abspath
2 from os.path import abspath
83 top_level = os.path.abspath('/foo')
129 top_level = os.path.abspath('/foo')
297 self.addCleanup(sys.path.remove, abspath('/foo'))
310 vfs = {abspath('/foo'): ['my_package'],
311 abspath('/foo/my_package'): ['__init__.py', 'test_module.py']}
348 loader._top_level_dir = abspath('/foo')
351 suite = list(loader._find_tests(abspath('/foo'), 'test*.py'))
384 full_path = os.path.abspath(os.path.normpath('/foo'))
407 top_level_dir = os.path.abspath('/foo/bar')
408 start_dir = os.path.abspath('/foo/bar/baz')
423 vfs = {abspath('/toplevel'): ['startdir'],
424 abspath('/toplevel/startdir'): ['__init__.py']}
433 self.addCleanup(sys.path.remove, abspath('/toplevel'))
503 vfs = {abspath('/foo'): ['my_package'],
504 abspath('/foo/my_package'): ['__init__.py', 'test_module.py']}
512 suite = loader.discover(abspath('/foo'))
514 self.assertIn(abspath('/foo'), sys.path)
559 vfs = {abspath('/foo'): ['my_package'],
560 abspath('/foo/my_package'): ['__init__.py', 'test_module.py']}
568 suite = loader.discover(abspath('/foo'))
570 self.assertIn(abspath('/foo'), sys.path)
723 full_path = os.path.abspath('foo')
751 os.path.realpath = os.path.abspath
758 mod_dir = os.path.abspath('bar')
759 expected_dir = os.path.abspath('foo')
773 mod_dir = os.path.abspath('bar')
774 expected_dir = os.path.abspath('foo')
792 expectedPath = os.path.abspath(os.path.dirname(unittest.test.__file__))