Skip to content

Commit

Permalink
Fix rest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Sep 5, 2024
1 parent 1e2e002 commit abbdfab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_api_validate_details_check(profile_id, expected_profile_name, get_base_

assert "a.pdf" in (details["report"]["jobs"][0]["itemDetails"]["name"])
assert (
details["report"]["jobs"][0]["validationResult"]["profileName"]
details["report"]["jobs"][0]["validationResult"][0]["profileName"]
== expected_profile_name
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_api_validate_sha_profileid_check(

assert sha1_info["report"]["jobs"][0]["itemDetails"]["name"] == "a.pdf"
assert (
sha1_info["report"]["jobs"][0]["validationResult"]["profileName"]
sha1_info["report"]["jobs"][0]["validationResult"][0]["profileName"]
== expected_profile_name
)

Expand Down

0 comments on commit abbdfab

Please sign in to comment.