mirror of
https://github.com/rjNemo/graphql-file_upload
synced 2026-06-06 10:26:45 +00:00
16 lines
267 B
Python
16 lines
267 B
Python
import pytest
|
|
from app.main import app
|
|
from faker import Faker
|
|
|
|
from .client import Client
|
|
|
|
|
|
@pytest.fixture(scope="session")
|
|
def client() -> Client:
|
|
return Client(app)
|
|
|
|
|
|
@pytest.fixture(scope="session")
|
|
def faker() -> Faker:
|
|
faker = Faker()
|
|
return faker
|