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:
parent
41a0c3902c
commit
a0c9375a92
@ -16,5 +16,6 @@ class TestUnselect(unittest.TestCase):
|
|||||||
|
|
||||||
def test_cleanup_filter(self):
|
def test_cleanup_filter(self):
|
||||||
UnselectCommand.config_init(self.api)
|
UnselectCommand.config_init(self.api)
|
||||||
|
UnselectCommand.cleanup_days = 1
|
||||||
obsolete = self.api.project_status_requests('obsolete', UnselectCommand.filter_obsolete)
|
obsolete = self.api.project_status_requests('obsolete', UnselectCommand.filter_obsolete)
|
||||||
self.assertSequenceEqual(['627445', '642126', '646560', '645723', '646823'], obsolete)
|
self.assertSequenceEqual(['627445', '642126', '646560', '645723', '646823'], obsolete)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user