mirror of https://github.com/zulip/zulip.git
Fix running single frontend tests using just the test-names.
(imported from commit 0b93abc0379b0a2ec900fe317843a7839258f7a9)
This commit is contained in:
parent
7f8ef32704
commit
36445d1576
|
@ -30,7 +30,7 @@ parser.add_option('--remote-debug',
|
||||||
test_files = []
|
test_files = []
|
||||||
for file in args:
|
for file in args:
|
||||||
if not os.path.exists(file):
|
if not os.path.exists(file):
|
||||||
file = os.path.join(os.path.dirname(__file__), 'tests', file)
|
file = os.path.join(os.path.dirname(__file__), '../zerver/tests/frontend/tests', file)
|
||||||
test_files.append(os.path.abspath(file))
|
test_files.append(os.path.abspath(file))
|
||||||
|
|
||||||
os.chdir(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../..'))
|
os.chdir(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../..'))
|
||||||
|
|
Loading…
Reference in New Issue