Lines Matching refs:full_path
346 full_path = os.path.abspath(module.__file__)
348 if os.path.basename(full_path).lower().startswith('__init__.py'):
349 return os.path.dirname(os.path.dirname(full_path))
354 return os.path.dirname(full_path)
372 def _match_path(self, path, full_path, pattern): argument
396 full_path = os.path.join(start_dir, path)
398 full_path, pattern, namespace)
403 name = self._get_name_from_path(full_path)
406 yield from self._find_tests(full_path, pattern, namespace)
410 def _find_test_path(self, full_path, pattern, namespace=False): argument
418 basename = os.path.basename(full_path)
419 if os.path.isfile(full_path):
423 if not self._match_path(basename, full_path, pattern):
426 name = self._get_name_from_path(full_path)
438 getattr(module, '__file__', full_path))
442 os.path.realpath(full_path))
446 os.path.basename(full_path))
447 expected_dir = os.path.dirname(full_path)
453 elif os.path.isdir(full_path):
455 not os.path.isfile(os.path.join(full_path, '__init__.py'))):
460 name = self._get_name_from_path(full_path)