Tests no longer flaky, let's keep but reduce in case of temp net errors

This commit is contained in:
Hugo 2018-04-16 21:57:29 +03:00
parent f18fd3f758
commit 8def14de48
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -39,7 +39,7 @@ class PyLastTestCase(unittest.TestCase):
self.assertTrue(str.endswith(suffix, start, end)) self.assertTrue(str.endswith(suffix, start, end))
@flaky(max_runs=5, min_passes=1) @flaky(max_runs=3, min_passes=1)
class TestPyLastWithLastFm(PyLastTestCase): class TestPyLastWithLastFm(PyLastTestCase):
secrets = None secrets = None