mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixing nose for PY-22641
nose may launch tests in file directly. It is always better to provide file since qname may be unresolved if no init.py in py2k
This commit is contained in:
@@ -9,7 +9,7 @@ from teamcity.nose_report import TeamcityReport
|
||||
|
||||
if __name__ == '__main__':
|
||||
path, targets, additional_args = jb_start_tests()
|
||||
sys.argv += [path] if path else jb_patch_separator(targets, fs_glue=".", python_glue=".", fs_to_python_glue=":")
|
||||
sys.argv += [path] if path else jb_patch_separator(targets, fs_glue="/", python_glue=".", fs_to_python_glue=".py:")
|
||||
sys.argv += additional_args
|
||||
jb_doc_args("Nosetest", sys.argv)
|
||||
nose.main(addplugins=[TeamcityReport()])
|
||||
|
||||
Reference in New Issue
Block a user