Home | History | Annotate | Download | only in unittest

Lines Matching refs:full_path

209         full_path = os.path.abspath(module.__file__)
211 if os.path.basename(full_path).lower().startswith('__init__.py'):
212 return os.path.dirname(os.path.dirname(full_path))
217 return os.path.dirname(full_path)
233 def _match_path(self, path, full_path, pattern):
242 full_path = os.path.join(start_dir, path)
243 if os.path.isfile(full_path):
247 if not self._match_path(path, full_path, pattern):
250 name = self._get_name_from_path(full_path)
256 mod_file = os.path.abspath(getattr(module, '__file__', full_path))
258 fullpath_noext = os.path.splitext(full_path)[0]
261 mod_name = os.path.splitext(os.path.basename(full_path))[0]
262 expected_dir = os.path.dirname(full_path)
267 elif os.path.isdir(full_path):
268 if not os.path.isfile(os.path.join(full_path, '__init__.py')):
275 name = self._get_name_from_path(full_path)
285 for test in self._find_tests(full_path, pattern):