mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-23 11:37:08 -04:00
fix import paths/names
This commit is contained in:
parent
3051861a27
commit
399139e6b4
3 changed files with 8 additions and 8 deletions
|
@ -4,9 +4,9 @@ import pytest
|
||||||
from util import afor, arun
|
from util import afor, arun
|
||||||
|
|
||||||
from streamrip.config import Config
|
from streamrip.config import Config
|
||||||
from streamrip.downloadable import BasicDownloadable
|
from streamrip.client.downloadable import BasicDownloadable
|
||||||
from streamrip.exceptions import MissingCredentials
|
from streamrip.exceptions import MissingCredentialsError
|
||||||
from streamrip.qobuz_client import QobuzClient
|
from streamrip.client.qobuz import QobuzClient
|
||||||
|
|
||||||
logger = logging.getLogger("streamrip")
|
logger = logging.getLogger("streamrip")
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ def client(qobuz_client):
|
||||||
|
|
||||||
def test_client_raises_missing_credentials():
|
def test_client_raises_missing_credentials():
|
||||||
c = Config.defaults()
|
c = Config.defaults()
|
||||||
with pytest.raises(MissingCredentials):
|
with pytest.raises(MissingCredentialsError):
|
||||||
arun(QobuzClient(c).login())
|
arun(QobuzClient(c).login())
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ from mutagen.flac import FLAC
|
||||||
from util import arun
|
from util import arun
|
||||||
|
|
||||||
from streamrip.metadata import *
|
from streamrip.metadata import *
|
||||||
from streamrip.tagger import tag_file
|
from streamrip.metadata.tagger import tag_file
|
||||||
|
|
||||||
test_flac = "tests/silence.flac"
|
test_flac = "tests/silence.flac"
|
||||||
test_cover = "tests/1x1_pixel.jpg"
|
test_cover = "tests/1x1_pixel.jpg"
|
||||||
|
|
|
@ -3,9 +3,9 @@ import shutil
|
||||||
|
|
||||||
from util import arun
|
from util import arun
|
||||||
|
|
||||||
from streamrip.downloadable import Downloadable
|
from streamrip.client.downloadable import Downloadable
|
||||||
from streamrip.qobuz_client import QobuzClient
|
from streamrip.client.qobuz import QobuzClient
|
||||||
from streamrip.track import PendingSingle, Track
|
from streamrip.media.track import PendingSingle, Track
|
||||||
|
|
||||||
|
|
||||||
def test_pending_resolve(qobuz_client: QobuzClient):
|
def test_pending_resolve(qobuz_client: QobuzClient):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue