Skip to content

Commit

Permalink
Make AirlockClient.login signature compatible with superclass
Browse files Browse the repository at this point in the history
To fix a new mypy error.
  • Loading branch information
rebkwok committed Oct 7, 2024
1 parent 299ba92 commit c1e69ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@


class AirlockClient(Client):
def login(self, username="testuser", workspaces=None, output_checker=False):
def login(self, **credentials):
username = credentials["testuser"]
workspaces = credentials.get("workspaces")
output_checker = credentials.get("output_checker", False)
user = factories.create_user(username, workspaces, output_checker)
self.login_with_user(user)

Expand Down

0 comments on commit c1e69ca

Please sign in to comment.