feat: wire adapter registry into worker loop
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from lyra_worker.registry import build_adapters
|
||||
|
||||
|
||||
def test_registry_returns_the_three_fake_sources():
|
||||
adapters = build_adapters()
|
||||
names = sorted(a.name for a in adapters)
|
||||
assert names == ["qobuz", "soulseek", "youtube"]
|
||||
for a in adapters:
|
||||
assert a.health() is True
|
||||
Reference in New Issue
Block a user