Skip to content

Commit 2ed0bde

Browse files
authored
Bug fix/missing import (#611)
* oskar seems to think different * no circleci no json.
1 parent 926c305 commit 2ed0bde

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Diff for: jenkins/helper/test_config.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
""" keep the config for one testsuite to execute """
33
import copy
44
import os
5-
import json
65

76
from site_config import IS_WINDOWS, IS_MAC, TEMP
87
TEST_LOG_FILES = []
@@ -63,14 +62,7 @@ def __init__(self,
6362
self.report_file = self.base_logdir / 'UNITTEST_RESULT.json'
6463
self.base_testdir = cfg.test_data_dir_x / self.name
6564

66-
self.arangosh_args = [];
67-
# the yaml work around is to have an A prepended. detect and strip out:
68-
if arangosh_args is not None and len(arangosh_args) > 0 and arangosh_args != 'A ""':
69-
print(arangosh_args)
70-
if isinstance(arangosh_args, list):
71-
self.arangosh_args = arangosh_args
72-
else:
73-
self.arangosh_args = json.loads(arangosh_args[1:])
65+
self.arangosh_args = arangosh_args
7466
self.args = copy.deepcopy(cfg.extra_args)
7567
for param in args:
7668
if param.startswith('$'):

0 commit comments

Comments
 (0)