Skip to content

Commit

Permalink
Remove AB related stuff.
Browse files Browse the repository at this point in the history
Move YIM stuff to interal folder.
  • Loading branch information
mayhem committed Apr 11, 2022
1 parent 77d1048 commit 47dfe74
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 347 deletions.
Empty file removed troi/acousticbrainz/__init__.py
Empty file.
72 changes: 0 additions & 72 deletions troi/acousticbrainz/annoy.py

This file was deleted.

70 changes: 0 additions & 70 deletions troi/acousticbrainz/bpm_lookup.py

This file was deleted.

70 changes: 0 additions & 70 deletions troi/acousticbrainz/mood_lookup.py

This file was deleted.

74 changes: 0 additions & 74 deletions troi/acousticbrainz/tests/test_annoy.py

This file was deleted.

3 changes: 3 additions & 0 deletions troi/internal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This directory contains patches that we use to create the Year in Music reviews at the end of the year.
Given the limited use, they've been moved away from the other patches in order to not confuse the normal
flow of the other patches
File renamed without changes.
File renamed without changes.
File renamed without changes.
57 changes: 0 additions & 57 deletions troi/patches/ab_similar_recordings.py

This file was deleted.

9 changes: 5 additions & 4 deletions troi/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ class TestPatches(unittest.TestCase):
def test_discover_patches(self):
patches = discover_patches()

assert len(patches) == 12
assert len(patches) == 5
assert "daily-jams" in patches
assert "area-random-recordings" in patches
assert "ab-similar-recordings" in patches
assert "weekly-flashback-jams" in patches
assert "playlist-from-mbids" in patches
assert "world-trip" in patches

assert issubclass(patches['daily-jams'], Patch)
assert issubclass(patches['area-random-recordings'], Patch)
for p in patches:
assert issubclass(patches[p], Patch)

0 comments on commit 47dfe74

Please sign in to comment.