Skip to content

Commit 95f2e88

Browse files
avtikhontntmac02.tarantool.i
authored andcommitted
TMP: add checker for JSON format
1 parent bc4240c commit 95f2e88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/test_suite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ def __init__(self, suite_path, args):
122122
. format(self.fragile))
123123
except ValueError:
124124
# use old format dictionary
125+
raise RuntimeError(
126+
"Key 'tests' absent in 'fragile' json: {}"
127+
. format(self.fragile))
125128
self.fragile['tests'] = self.ini['fragile']
126129

127130
self.parse_bool_opt('pretest_clean', False)

0 commit comments

Comments
 (0)