Lines Matching refs:full_path
354 full_path = os.path.abspath(module.__file__)
356 if os.path.basename(full_path).lower().startswith('__init__.py'):
357 return os.path.dirname(os.path.dirname(full_path))
362 return os.path.dirname(full_path)
380 def _match_path(self, path, full_path, pattern): argument
404 full_path = os.path.join(start_dir, path)
406 full_path, pattern, namespace)
411 name = self._get_name_from_path(full_path)
414 yield from self._find_tests(full_path, pattern, namespace)
418 def _find_test_path(self, full_path, pattern, namespace=False): argument
426 basename = os.path.basename(full_path)
427 if os.path.isfile(full_path):
431 if not self._match_path(basename, full_path, pattern):
434 name = self._get_name_from_path(full_path)
446 getattr(module, '__file__', full_path))
450 os.path.realpath(full_path))
454 os.path.basename(full_path))
455 expected_dir = os.path.dirname(full_path)
461 elif os.path.isdir(full_path):
463 not os.path.isfile(os.path.join(full_path, '__init__.py'))):
468 name = self._get_name_from_path(full_path)