update
This commit is contained in:
@@ -26,9 +26,9 @@ def test_staged_report_makes_one_model_call_per_slice_and_resumes_every_group():
|
||||
assert len(operations)-before==1;continue
|
||||
break
|
||||
else:pytest.fail('workflow did not complete')
|
||||
assert operations==[name for name,_,_ in GROUPS]+['verify','verify']
|
||||
assert operations==[name for name,_,_ in GROUPS]+['verify']
|
||||
assert result['findings'][0]['finding']==raw['findings'][0]['finding']
|
||||
assert saved[-1]['workflow_steps']==6
|
||||
assert saved[-1]['workflow_steps']==5
|
||||
|
||||
|
||||
def test_incomplete_generation_cannot_be_saved_as_a_finished_unit():
|
||||
@@ -52,7 +52,7 @@ def test_broken_link_is_repaired_without_regenerating_completed_sections():
|
||||
except JobDeferred:continue
|
||||
break
|
||||
else:pytest.fail('link repair did not progress')
|
||||
assert calls==['repair','verify','verify']
|
||||
assert calls==['repair','verify']
|
||||
assert result['directions'][0]['activity_id']=='work'
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ def test_verification_automatically_shrinks_after_truncation_without_rechecking_
|
||||
except JobDeferred:continue
|
||||
break
|
||||
else:pytest.fail('adaptive verification did not complete')
|
||||
assert list(map(len,batches))==[4,2,2,1]
|
||||
assert list(map(len,batches))==[5,2,2,1]
|
||||
assert [key for batch in batches[1:] for key in batch]==list(profile.KEYS)
|
||||
assert saved[-1]['verification_batch_size']==2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user