Added a few basic tests

This commit is contained in:
2023-11-19 23:05:48 +01:00
parent 9282578788
commit 9733557463
5 changed files with 33 additions and 1 deletions

8
tests/test_client.py Normal file
View File

@@ -0,0 +1,8 @@
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)