From 8def14de48711cc1df6db762f51b727f86c2e055 Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 16 Apr 2018 21:57:29 +0300 Subject: [PATCH] Tests no longer flaky, let's keep but reduce in case of temp net errors --- tests/test_librefm.py | 2 +- tests/test_pylast.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_librefm.py b/tests/test_librefm.py index a19e86a..1f50743 100755 --- a/tests/test_librefm.py +++ b/tests/test_librefm.py @@ -11,7 +11,7 @@ import pylast from .test_pylast import PyLastTestCase, load_secrets -@flaky(max_runs=5, min_passes=1) +@flaky(max_runs=3, min_passes=1) class TestPyLastWithLibreFm(PyLastTestCase): """Own class for Libre.fm because we don't need the Last.fm setUp""" diff --git a/tests/test_pylast.py b/tests/test_pylast.py index e3193a0..aba7688 100755 --- a/tests/test_pylast.py +++ b/tests/test_pylast.py @@ -39,7 +39,7 @@ class PyLastTestCase(unittest.TestCase): self.assertTrue(str.endswith(suffix, start, end)) -@flaky(max_runs=5, min_passes=1) +@flaky(max_runs=3, min_passes=1) class TestPyLastWithLastFm(PyLastTestCase): secrets = None