From 992d70198ccf770cf84380f19a35431ffb99f31d Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Mon, 9 Dec 2024 09:39:19 -0800 Subject: [PATCH] Up-rev hacking Change-Id: I9473fad7c46ac03bbc71328c17e988af9d21386c --- test-requirements.txt | 2 +- test/unit/cli/test_recon.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index b5cf150d6e..50c66ff27e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. # Hacking already pins down pep8, pyflakes and flake8 -hacking>=2.0,<6.2.0 # Apache-2.0 +hacking>=2.0,<7.1.0 # Apache-2.0 coverage>=5.0.4 # Apache-2.0 pytest>=4.6.11 # MIT pytest-cov>=2.12.1 # MIT diff --git a/test/unit/cli/test_recon.py b/test/unit/cli/test_recon.py index 128a62be6e..541bdc0047 100644 --- a/test/unit/cli/test_recon.py +++ b/test/unit/cli/test_recon.py @@ -1106,8 +1106,8 @@ class TestReconCommands(unittest.TestCase): cli.sharding_check([('127.0.0.1', 6011), ('127.0.0.1', 6021)]) mock_print.assert_has_calls(default_calls, any_order=True) - @ mock.patch('six.moves.builtins.print') - @ mock.patch('time.time') + @mock.patch('six.moves.builtins.print') + @mock.patch('time.time') def test_reconstruction_check(self, mock_now, mock_print): now = 1430000000.0