diff --git a/mopidy_tidal/backend.py b/mopidy_tidal/backend.py index bacc464..156cd3d 100755 --- a/mopidy_tidal/backend.py +++ b/mopidy_tidal/backend.py @@ -1,20 +1,20 @@ from __future__ import unicode_literals import logging +import time from concurrent.futures import Future from pathlib import Path from typing import Optional, Union -import time from mopidy import backend from pykka import ThreadingActor +from tidalapi import Config, Session +from tidalapi import __version__ as tidalapi_ver from mopidy_tidal import Extension from mopidy_tidal import __version__ as mopidy_tidal_ver from mopidy_tidal import context, library, playback, playlists from mopidy_tidal.web_auth_server import WebAuthServer -from tidalapi import Config, Session -from tidalapi import __version__ as tidalapi_ver logger = logging.getLogger(__name__) diff --git a/tests/test_library.py b/tests/test_library.py index e3cc8e6..0b85571 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -1,9 +1,9 @@ import pytest from mopidy.models import Album, Artist, Image, Ref, SearchResult, Track from requests import HTTPError +from tidalapi.playlist import Playlist from mopidy_tidal.library import HTTPError, ObjectNotFound, TidalLibraryProvider -from tidalapi.playlist import Playlist @pytest.fixture diff --git a/tests/test_login_hack.py b/tests/test_login_hack.py index 6a41a38..d3895a0 100644 --- a/tests/test_login_hack.py +++ b/tests/test_login_hack.py @@ -2,11 +2,11 @@ import pytest from mopidy.models import Album, Artist, Image, Playlist, Ref, SearchResult, Track +from tidalapi.session import LinkLogin from mopidy_tidal.library import TidalLibraryProvider from mopidy_tidal.playback import TidalPlaybackProvider from mopidy_tidal.playlists import TidalPlaylistsProvider -from tidalapi.session import LinkLogin @pytest.fixture