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
This commit is contained in:
Stephan Kulow 2018-11-10 11:30:02 +01:00
parent 41a0c3902c
commit a0c9375a92

View File

@ -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)