Skip to content

Commit

Permalink
docs: document fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreLeveau committed Oct 6, 2023
1 parent 6ab6d35 commit 241be6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

@pytest.fixture(scope="session")
def kili() -> Kili:
"""Kili client with user rights."""
return Kili()


@pytest.fixture(scope="session")
def kili_admin() -> Kili:
"""Kili client with admin rights."""
return Kili(api_key=os.environ["KILI_API_KEY_ADMIN"])

0 comments on commit 241be6a

Please sign in to comment.