bug fix spec status

This commit is contained in:
Dirk Alders 2021-03-07 19:50:00 +01:00
parent 034b9db5a2
commit 7b807e5ca7

View File

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