Added a few basic tests
This commit is contained in:
15
tests/conftest.py
Normal file
15
tests/conftest.py
Normal file
@@ -0,0 +1,15 @@
|
||||
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)
|
Reference in New Issue
Block a user