Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest
from faker import Faker
from flask import Flask
from flask.testing import FlaskClient

Expand All @@ -13,3 +14,8 @@ def app() -> Flask:
@pytest.fixture(scope="session")
def client(app) -> FlaskClient:
return app.test_client()


@pytest.fixture(scope="session")
def faker() -> Faker:
return Faker("en_UK")
5 changes: 0 additions & 5 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
AWS_REGION = "eu-west-1"


@pytest.fixture(scope="session")
def faker() -> Faker:
return Faker("en_UK")


@pytest.fixture(scope="session")
def localstack(request: pytest.FixtureRequest) -> URL:
if url := os.getenv("RUNNING_LOCALSTACK_URL", None):
Expand Down
Loading
Loading