update codebase

This commit is contained in:
2025-04-17 10:57:57 +02:00
parent e685c7b930
commit 759c01380f
37 changed files with 378 additions and 252 deletions

19
tests/test_api.py Normal file
View File

@@ -0,0 +1,19 @@
from komgapi import komgapi
from komconfig import KomConfig
config = KomConfig()
client = komgapi(
url=config.komga.url,
username=config.komga.user,
password=config.komga.password,
)
def test_series_controller(client: komgapi):
assert client.series_controller.getAllSeries() is not None
if __name__ == "__main__":
test_series_controller(client)
print("All tests passed!")