Add get_trakt_api helper
MODIFY
tests/conftest.py
tests/conftest.py
@@ -12,6 +12,15 @@ def load_mock(name: str):
return json.load(f)
+@memoize
+def get_trakt_api():
+ from plex_trakt_sync.trakt_api import TraktApi
+
+ trakt = TraktApi()
+
+ return trakt
+
+
@memoize
def get_plex_api():
from plex_trakt_sync.config import CONFIG

Add get_trakt_api helper