Merge "Up-rev hacking"

This commit is contained in:
Zuul
2024-12-09 23:05:13 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

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

View File

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