Skip to content

Commit

Permalink
Fix gateway integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
kiendang committed Oct 18, 2023
1 parent 41c1701 commit bf67a1f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/integration/network/gateway_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ def test_domain_connect_to_gateway(domain_1_port, gateway_port):
assert proxy_domain_client.metadata == domain_client.metadata
assert proxy_domain_client.user_role == ServiceRole.NONE

domain_client.login(email="[email protected]", password="changethis")
proxy_domain_client.login(email="[email protected]", password="changethis")
domain_client = domain_client.login(
email="[email protected]", password="changethis"
)
proxy_domain_client = proxy_domain_client.login(
email="[email protected]", password="changethis"
)

assert proxy_domain_client.logged_in_user == "[email protected]"
assert proxy_domain_client.user_role == ServiceRole.ADMIN
Expand Down

0 comments on commit bf67a1f

Please sign in to comment.