lastplayed/api/tests/integration/songs/test_latest_songs.py

4 lines
157 B
Python

def test_get_lastest_songs(client):
rv = client.get('/biahll/latest-song')
assert rv.status_code == 200
assert len(rv.json['track']) != None