mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
test: bootstrap pytest environment for backend
This commit is contained in:
parent
47e6a7f29e
commit
10a6ba6924
10 changed files with 126 additions and 0 deletions
16
surfsense_backend/tests/conftest.py
Normal file
16
surfsense_backend/tests/conftest.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sample_user_id() -> str:
|
||||
return "00000000-0000-0000-0000-000000000001"
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sample_search_space_id() -> int:
|
||||
return 1
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sample_connector_id() -> int:
|
||||
return 42
|
||||
Loading…
Add table
Add a link
Reference in a new issue