bug fix spec status
This commit is contained in:
parent
034b9db5a2
commit
7b807e5ca7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user