mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
test: add first basic tests
This commit is contained in:
parent
101813b4f7
commit
6873428933
2 changed files with 36 additions and 0 deletions
11
tests/conftest.py
Normal file
11
tests/conftest.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import tempfile
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def temp_data_dir():
|
||||
"""Create a temporary directory for test data"""
|
||||
return Path(tempfile.mkdtemp())
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue