Skip to content

Commit

Permalink
Make client be function scoped
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Feb 23, 2024
1 parent 3541416 commit 7737eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def localhost_using_legacy_db():
conn.commit()


@pytest.fixture(scope='session')
@pytest.fixture(scope='function')
def client(admin_username, admin_password):
"""Provides a Django test Client object already logged in to the web UI as
an admin"""
Expand Down

0 comments on commit 7737eab

Please sign in to comment.