PythonRMV/tests/conftest.py

16 lines
235 B
Python
Raw Normal View History

2023-11-20 00:05:48 +02:00
from os import environ
import pytest
from pyrmv import Client
@pytest.fixture()
def api_token() -> str:
return environ.get("RMV_TOKEN")
@pytest.fixture()
def api_client(api_token: str) -> Client:
return Client(api_token)