Skip to content

Commit

Permalink
test: change from entity to models
Browse files Browse the repository at this point in the history
  • Loading branch information
sacklippe committed Jul 6, 2024
1 parent 66e75ac commit 729720b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion tests/integrationtests/spotify/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

import pytest

from musync.common.entity import Origin, Playlist, Track, User
# from musync.common.entity import Origin, Playlist, Track, User
from musync.app.models import Origin, Playlist, Track, User
from musync.spotify import SpotifySession
from tests.unittests.common.entity import DATA_DIR

Expand Down
2 changes: 1 addition & 1 deletion tests/integrationtests/test_sync_manager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from musync.common.entity import Playlist, Track
from musync.app.models import Playlist, Track
from musync.common.sync_manager import SyncManager
from musync.spotify import SpotifySession
from musync.tidal import TidalSession
Expand Down
3 changes: 2 additions & 1 deletion tests/integrationtests/tidal/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

import pytest

from musync.common.entity import Origin, Playlist, Track, User
# from musync.common.entity import Origin, Playlist, Track, User
from musync.app.models import Origin, Playlist, Track, User
from musync.tidal import TidalSession
from tests.unittests.common.entity import DATA_DIR

Expand Down
3 changes: 1 addition & 2 deletions tests/unittests/app/models/test_artist.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import pytest

from musync.app.models.artist import Artist
from musync.common.entity import Origin
from musync.app.models import Artist, Origin
from tests.unittests.app.models import DATA_DIR


Expand Down
3 changes: 1 addition & 2 deletions tests/unittests/app/models/test_playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import pytest

from musync.app.models.playlist import Playlist
from musync.common.entity.origin import Origin
from musync.app.models import Origin, Playlist
from tests.unittests.app.models import DATA_DIR


Expand Down
3 changes: 1 addition & 2 deletions tests/unittests/app/models/test_track.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import pytest
import pytz

from musync.app.models.track import Track
from musync.common.entity.origin import Origin
from musync.app.models import Origin, Track
from tests.unittests.app.models import DATA_DIR


Expand Down

0 comments on commit 729720b

Please sign in to comment.