From 05365efa5b7893d89307c3c31027aee9a40b7952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Pino=20M=C3=A1rquez?= Date: Sun, 7 Oct 2018 11:17:37 +0200 Subject: [PATCH] Add time.sleep --- tests/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test.py b/tests/test.py index 52862aa..10b2e97 100644 --- a/tests/test.py +++ b/tests/test.py @@ -132,10 +132,13 @@ def test_top_dvd(self): # For renovate the headers self.service = python_filmaffinity.FilmAffinity() movies = self.service.top_dvd(top=10) + time.sleep(4) self.check_list(movies) movies = self.service.top_dvd(top=20) + time.sleep(4) self.assertEqual(len(movies), 20) movies = self.service.top_dvd(top=80) + time.sleep(4) self.assertEqual(len(movies), 40) self.check_list(movies)