File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,8 +149,10 @@ def test_job_scoring_basic(hrflow_client):
149149 limit = 5 , # allows to bypass the bug with archived jobs
150150 )
151151 )
152- assert model .code == http_codes .ok
153- assert len (model .data .jobs ) == len (model .data .predictions ) == model .meta .count
152+ assert model .code == http_codes .ok , (
153+ "Maybe the job is not already indexed for the scoring. Please, try again later."
154+ )
155+ assert len (model .data .jobs ) == len (model .data .predictions )
154156
155157
156158@pytest .mark .job
Original file line number Diff line number Diff line change @@ -510,7 +510,10 @@ def test_profiles_scoring_basic(hrflow_client):
510510 limit = 5 , # allows to bypass the bug with archived profiles
511511 )
512512 )
513- assert model .code == http_codes .ok
513+ assert model .code == http_codes .ok , (
514+ "Maybe the job is not already indexed for the scoring. Please, try again later."
515+ )
516+ assert len (model .data .profiles ) == len (model .data .predictions )
514517
515518
516519@pytest .mark .profile
You can’t perform that action at this time.
0 commit comments