From a0c9375a92fc939d40e003e46ed80a57deb2be03 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 10 Nov 2018 11:30:02 +0100 Subject: [PATCH] Adapt the unselect test to the current state There are no revoked requests in Factory today - not perfect, but writing this json file manually is not perfect either --- tests/unselect_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unselect_tests.py b/tests/unselect_tests.py index 62ff6214..f5a652c7 100644 --- a/tests/unselect_tests.py +++ b/tests/unselect_tests.py @@ -16,5 +16,6 @@ class TestUnselect(unittest.TestCase): def test_cleanup_filter(self): UnselectCommand.config_init(self.api) + UnselectCommand.cleanup_days = 1 obsolete = self.api.project_status_requests('obsolete', UnselectCommand.filter_obsolete) self.assertSequenceEqual(['627445', '642126', '646560', '645723', '646823'], obsolete)