Skip to content

Commit

Permalink
chore: remove redundant api_client parameters
Browse files Browse the repository at this point in the history
Refs: PS-154
  • Loading branch information
charn committed Nov 28, 2024
1 parent 16f97b3 commit 619e4db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions users/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ def official():


@pytest.fixture
def user_api_client(api_client, user):
def user_api_client(user):
api_client = APIClient()
api_client.force_authenticate(user=user)
api_client.user = user
return api_client


@pytest.fixture
def contractor_api_client(api_client, contractor):
def contractor_api_client(contractor):
api_client = APIClient()
api_client.force_authenticate(user=contractor)
api_client.user = contractor
return api_client


@pytest.fixture
def official_api_client(api_client, official):
def official_api_client(official):
api_client = APIClient()
api_client.force_authenticate(user=official)
api_client.user = official
Expand Down

0 comments on commit 619e4db

Please sign in to comment.