12 lines
218 B
Python
12 lines
218 B
Python
"""test configs"""
|
|
|
|
import os
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture(scope="session", autouse=True)
|
|
def change_test_dir(request):
|
|
"""change directory to project folder"""
|
|
os.chdir(request.config.rootdir / "backend")
|