Merge "Up-rev hacking"
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
# Hacking already pins down pep8, pyflakes and flake8
|
# 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
|
coverage>=5.0.4 # Apache-2.0
|
||||||
pytest>=4.6.11 # MIT
|
pytest>=4.6.11 # MIT
|
||||||
pytest-cov>=2.12.1 # MIT
|
pytest-cov>=2.12.1 # MIT
|
||||||
|
@@ -1106,8 +1106,8 @@ class TestReconCommands(unittest.TestCase):
|
|||||||
cli.sharding_check([('127.0.0.1', 6011), ('127.0.0.1', 6021)])
|
cli.sharding_check([('127.0.0.1', 6011), ('127.0.0.1', 6021)])
|
||||||
mock_print.assert_has_calls(default_calls, any_order=True)
|
mock_print.assert_has_calls(default_calls, any_order=True)
|
||||||
|
|
||||||
@ mock.patch('six.moves.builtins.print')
|
@mock.patch('six.moves.builtins.print')
|
||||||
@ mock.patch('time.time')
|
@mock.patch('time.time')
|
||||||
def test_reconstruction_check(self, mock_now, mock_print):
|
def test_reconstruction_check(self, mock_now, mock_print):
|
||||||
now = 1430000000.0
|
now = 1430000000.0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user