Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed Apr 20, 2024
1 parent 8127a20 commit 17998f6
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rose/playlists_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ def test_dump_playlist(config: Config) -> None:
"catalognumber": None,
"new": False,
"genres": ["Techno", "Deep House"],
"parent_genres": [
"Dance",
"Electronic",
"Electronic Dance Music",
"House",
],
"labels": ["Silk Music"],
"releaseartists": {
"main": [
Expand Down Expand Up @@ -204,6 +210,7 @@ def test_dump_playlist(config: Config) -> None:
"catalognumber": "DG-001",
"new": False,
"genres": ["Classical"],
"parent_genres": [],
"labels": ["Native State"],
"releaseartists": {
"main": [{"name": "Violin Woman", "alias": False}],
Expand Down Expand Up @@ -258,6 +265,12 @@ def test_dump_playlists(config: Config) -> None:
"catalognumber": None,
"new": False,
"genres": ["Techno", "Deep House"],
"parent_genres": [
"Dance",
"Electronic",
"Electronic Dance Music",
"House",
],
"labels": ["Silk Music"],
"releaseartists": {
"main": [
Expand Down Expand Up @@ -300,6 +313,7 @@ def test_dump_playlists(config: Config) -> None:
"catalognumber": "DG-001",
"new": False,
"genres": ["Classical"],
"parent_genres": [],
"labels": ["Native State"],
"releaseartists": {
"main": [{"name": "Violin Woman", "alias": False}],
Expand Down
32 changes: 32 additions & 0 deletions rose/tracks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ def test_dump_tracks(config: Config) -> None:
"catalognumber": None,
"new": False,
"genres": ["Techno", "Deep House"],
"parent_genres": [
"Dance",
"Electronic",
"Electronic Dance Music",
"House",
],
"labels": ["Silk Music"],
"releaseartists": {
"main": [
Expand Down Expand Up @@ -95,6 +101,12 @@ def test_dump_tracks(config: Config) -> None:
"catalognumber": None,
"new": False,
"genres": ["Techno", "Deep House"],
"parent_genres": [
"Dance",
"Electronic",
"Electronic Dance Music",
"House",
],
"labels": ["Silk Music"],
"releaseartists": {
"main": [
Expand Down Expand Up @@ -136,6 +148,7 @@ def test_dump_tracks(config: Config) -> None:
"catalognumber": "DG-001",
"new": False,
"genres": ["Classical"],
"parent_genres": [],
"labels": ["Native State"],
"releaseartists": {
"main": [{"name": "Violin Woman", "alias": False}],
Expand Down Expand Up @@ -174,6 +187,7 @@ def test_dump_tracks(config: Config) -> None:
"catalognumber": "DG-002",
"new": True,
"genres": [],
"parent_genres": [],
"labels": [],
"releaseartists": {
"main": [],
Expand Down Expand Up @@ -222,6 +236,12 @@ def test_dump_tracks_with_matcher(config: Config) -> None:
"catalognumber": None,
"new": False,
"genres": ["Techno", "Deep House"],
"parent_genres": [
"Dance",
"Electronic",
"Electronic Dance Music",
"House",
],
"labels": ["Silk Music"],
"releaseartists": {
"main": [
Expand Down Expand Up @@ -266,6 +286,12 @@ def test_dump_tracks_with_matcher(config: Config) -> None:
"catalognumber": None,
"new": False,
"genres": ["Techno", "Deep House"],
"parent_genres": [
"Dance",
"Electronic",
"Electronic Dance Music",
"House",
],
"labels": ["Silk Music"],
"releaseartists": {
"main": [
Expand Down Expand Up @@ -315,6 +341,12 @@ def test_dump_track(config: Config) -> None:
"catalognumber": None,
"new": False,
"genres": ["Techno", "Deep House"],
"parent_genres": [
"Dance",
"Electronic",
"Electronic Dance Music",
"House",
],
"labels": ["Silk Music"],
"releaseartists": {
"main": [
Expand Down

0 comments on commit 17998f6

Please sign in to comment.