Browse Source

bug fix spec status

master
Dirk Alders 3 years ago
parent
commit
7b807e5ca7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      jsonlog.py

+ 1
- 1
jsonlog.py View File

270
 def status_spec(ut_folder):
270
 def status_spec(ut_folder):
271
     if os.path.exists(os.path.join(ut_folder, 'requirements', 'specification.reqif')):
271
     if os.path.exists(os.path.join(ut_folder, 'requirements', 'specification.reqif')):
272
         try:
272
         try:
273
-            with open(get_ut_jsonlog(ut_folder), 'r') as fh:
273
+            with open(get_lib_jsonlog(ut_folder), 'r') as fh:
274
                 ut = json.loads(fh.read())
274
                 ut = json.loads(fh.read())
275
                 if len(ut[MAIN_KEY_LOST_SOULS][LOST_ITEMLIST]) > 0 or len(ut[MAIN_KEY_LOST_SOULS][LOST_TESTCASELIST]) > 0:
275
                 if len(ut[MAIN_KEY_LOST_SOULS][LOST_ITEMLIST]) > 0 or len(ut[MAIN_KEY_LOST_SOULS][LOST_TESTCASELIST]) > 0:
276
                     return STATUS_IN_WORK
276
                     return STATUS_IN_WORK

Loading…
Cancel
Save