Move lookup modules to approp app

This commit is contained in:
2023-03-04 16:04:52 -05:00
parent 00aa2e892f
commit 90b7be286c
13 changed files with 10 additions and 11 deletions

View File

@ -1,11 +0,0 @@
import pytest
from vrobbler.apps.scrobbles.imdb import lookup_video_from_imdb
@pytest.mark.skip(reason="Need to sort out third party API testing")
def test_lookup_imdb_bad_id(caplog):
data = lookup_video_from_imdb('3409324')
assert data is None
assert caplog.records[0].levelname == "WARNING"
assert caplog.records[0].msg == "IMDB ID should begin with 'tt' 3409324"

View File

@ -3,9 +3,9 @@ import pytest
from django.urls import reverse
from scrobbles.models import Scrobble
from music.models import Track
from podcasts.models import Episode
from vrobbler.apps.scrobbles.models import Scrobble
from vrobbler.apps.music.models import Track
from vrobbler.apps.podcasts.models import Episode
@pytest.mark.django_db