TestPyLastWithLastFm and TestPyLastWithLibreFm now inherit from PyLastTestCase

This commit is contained in:
Hugo 2018-04-16 21:09:52 +03:00
parent 70aad87a1b
commit f18fd3f758
10 changed files with 28 additions and 25 deletions

View file

@ -8,11 +8,11 @@ from flaky import flaky
import pylast
from .test_pylast import load_secrets
from .test_pylast import PyLastTestCase, load_secrets
@flaky(max_runs=5, min_passes=1)
class TestPyLastWithLibreFm(unittest.TestCase):
class TestPyLastWithLibreFm(PyLastTestCase):
"""Own class for Libre.fm because we don't need the Last.fm setUp"""
def test_libre_fm(self):