Cybersecurity-Projects/PROJECTS/advanced/rveng/tests/conftest.py

21 lines
327 B
Python

"""
©AngelaMos | 2026
conftest.py
"""
from pathlib import Path
import pytest
FIXTURES = Path(__file__).parent / "fixtures"
@pytest.fixture(scope="session")
def gate_path() -> Path:
return FIXTURES / "gate"
@pytest.fixture(scope="session")
def gate_bytes(gate_path: Path) -> bytes:
return gate_path.read_bytes()