PythonRMV/tests/test_client.py

9 lines
200 B
Python

import pytest
from pyrmv import Client
from pyrmv.classes import Stop
def test_stop_by_name(api_client: Client):
assert isinstance(api_client.stop_by_name("Hauptwache", max_number=1)[0], Stop)