Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-was-here committed Aug 19, 2023
1 parent c9183d1 commit faad1de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions .yetus/excludes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ NowPlaying.spec
tests/seratolive/2021_08_25_pong.html
tests/upgrade/releasedata.json
docs/_static/basic.css
tests/playlists/traktor/collection.nml
10 changes: 1 addition & 9 deletions tests/test_traktor.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
#!/usr/bin/env python3
''' test virtualdj '''

import asyncio
import pathlib
import os
import sys

import logging
import tempfile

import pytest
import watchdog.observers.polling # pylint: disable=import-error

import nowplaying.inputs.traktor # pylint: disable=import-error
import nowplaying.utils # pylint: disable=import-error
Expand Down Expand Up @@ -38,6 +29,7 @@ async def test_read_collections(bootstrap, getroot):
track = await plugin.getrandomtrack(playlist='videos')
assert track
data = await traktor.lookup(artist="Divine", title="Shoot Your Shot")
assert data
assert data['artist'] == 'Divine'
assert data['title'] == 'Shoot Your Shot'
assert data['album'] == 'The Best of Divine'
Expand Down

0 comments on commit faad1de

Please sign in to comment.