clan-core/pkgs/clan-cli/tests/root.py
Jörg Thalheim a17baa4861
All checks were successful
build / test (pull_request) Successful in 28s
add test for remote ssh commands
2023-08-10 11:05:05 +02:00

23 lines
381 B
Python

from pathlib import Path
import pytest
TEST_ROOT = Path(__file__).parent.resolve()
PROJECT_ROOT = TEST_ROOT.parent
@pytest.fixture(scope="session")
def project_root() -> Path:
"""
Root directory of the tests
"""
return PROJECT_ROOT
@pytest.fixture(scope="session")
def test_root() -> Path:
"""
Root directory of the tests
"""
return TEST_ROOT