Bump hacking minimum version to 6.1.0

Change-Id: I1719fcef045884930f9f1d8df8b9b8cc150d0a0c
This commit is contained in:
Pierre Riteau 2024-06-10 16:35:34 +02:00
parent 8a5319fd5d
commit eef0d2e466
3 changed files with 18 additions and 18 deletions
cloudkitty/tests/api/v2/task
test-requirements.txt

@ -404,16 +404,16 @@ class TestReprocessingSchedulerGetApi(tests.TestCase):
request_mock.args.lists.return_value = []
list_all_return = self.endpoint.get()
self.assertTrue("results" in list_all_return)
self.assertTrue("id" not in list_all_return['results'][0])
self.assertTrue("scope_id" in list_all_return['results'][0])
self.assertTrue("reason" in list_all_return['results'][0])
self.assertTrue(
"current_reprocess_time" in list_all_return['results'][0])
self.assertTrue(
"start_reprocess_time" in list_all_return['results'][0])
self.assertTrue(
"end_reprocess_time" in list_all_return['results'][0])
self.assertIn("results", list_all_return)
self.assertNotIn("id", list_all_return['results'][0])
self.assertIn("scope_id", list_all_return['results'][0])
self.assertIn("reason", list_all_return['results'][0])
self.assertIn(
"current_reprocess_time", list_all_return['results'][0])
self.assertIn(
"start_reprocess_time", list_all_return['results'][0])
self.assertIn(
"end_reprocess_time", list_all_return['results'][0])
self.assertEqual("scope_identifier",
list_all_return['results'][0]['scope_id'])

@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
# hacking should be first
hacking>=3.0.1,<3.1.0 # Apache-2.0
hacking>=6.1.0,<6.2.0 # Apache-2.0
coverage>=5.3 # Apache-2.0
kombu>=5.0.2 # BSD