test: add basic tests for cache-search & network fetchers
test: enable debug test: add pytest.ini to mark tests that require network fix: cache-search should not aquire full match of artists due to different translations fix: replace dynamic f-string SQL in track WHERE clauses with parameterized nullable conditions refactor: lrc.py should never directly call print, return a str instead chore: add requirements.txt (via 'uv export') chore: update README.md with dev instructions
This commit is contained in:
+2
-2
@@ -120,7 +120,7 @@ def fetch(
|
||||
logger.error("Only unsynced lyrics available (--only-synced requested).")
|
||||
sys.exit(1)
|
||||
|
||||
result.lyrics.print_lyrics(plain=plain)
|
||||
print(result.lyrics.to_lrc(plain=plain))
|
||||
|
||||
|
||||
# search
|
||||
@@ -208,7 +208,7 @@ def search(
|
||||
logger.error("Only unsynced lyrics available (--only-synced requested).")
|
||||
sys.exit(1)
|
||||
|
||||
result.lyrics.print_lyrics(plain=plain)
|
||||
print(result.lyrics.to_lrc(plain=plain))
|
||||
|
||||
|
||||
# export
|
||||
|
||||
Reference in New Issue
Block a user