Home | History | Annotate | Download | only in unittest

Lines Matching refs:full_path

211         full_path = os.path.abspath(module.__file__)
213 if os.path.basename(full_path).lower().startswith('__init__.py'):
214 return os.path.dirname(os.path.dirname(full_path))
219 return os.path.dirname(full_path)
235 def _match_path(self, path, full_path, pattern):
244 full_path = os.path.join(start_dir, path)
245 if os.path.isfile(full_path):
249 if not self._match_path(path, full_path, pattern):
252 name = self._get_name_from_path(full_path)
258 mod_file = os.path.abspath(getattr(module, '__file__', full_path))
260 fullpath_noext = os.path.splitext(os.path.realpath(full_path))[0]
263 mod_name = os.path.splitext(os.path.basename(full_path))[0]
264 expected_dir = os.path.dirname(full_path)
269 elif os.path.isdir(full_path):
270 if not os.path.isfile(os.path.join(full_path, '__init__.py')):
277 name = self._get_name_from_path(full_path)
287 for test in self._find_tests(full_path, pattern):