Skip to content

Commit

Permalink
Updating assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
galvana committed Aug 1, 2023
1 parent c5c7a13 commit 791117f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/ops/integration_tests/saas/test_recurly_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ async def test_access_request(
access_policy=policy, identities={"email": recurly_identity_email}
)

assert (
access_results["recurly_instance:accounts"][0]["email"]
== recurly_identity_email
)
assert len(access_results["recurly_instance:accounts"]) == 1
account = access_results["recurly_instance:accounts"][0]
assert account["email"] == recurly_identity_email

for billing_info in access_results["recurly_instance:billing_info"]:
assert billing_info["account_id"] == account["id"]

for shipping_address in access_results["recurly_instance:shipping_address"]:
assert shipping_address["account_id"] == account["id"]

0 comments on commit 791117f

Please sign in to comment.