mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Flake8 whining about spaces after comment #
Solution: Made things pretty
This commit is contained in:
parent
f653dc8de0
commit
76240613db
@ -343,9 +343,9 @@ class MockResponse():
|
|||||||
return {'result': {'latest_block_height': self.height}}
|
return {'result': {'latest_block_height': self.height}}
|
||||||
|
|
||||||
|
|
||||||
#@pytest.mark.execute
|
# @pytest.mark.execute
|
||||||
#@patch('bigchaindb.lib.BigchainDB.get_validators')
|
# @patch('bigchaindb.lib.BigchainDB.get_validators')
|
||||||
#@pytest.mark.abci
|
# @pytest.mark.abci
|
||||||
def test_upsert_validator_new_with_tendermint(b, priv_validator_path, user_sk, monkeypatch):
|
def test_upsert_validator_new_with_tendermint(b, priv_validator_path, user_sk, monkeypatch):
|
||||||
"""
|
"""
|
||||||
WIP: Will be fixed and activated in the next PR
|
WIP: Will be fixed and activated in the next PR
|
||||||
@ -362,9 +362,9 @@ def test_upsert_validator_new_with_tendermint(b, priv_validator_path, user_sk, m
|
|||||||
'voting_power': 10}
|
'voting_power': 10}
|
||||||
]
|
]
|
||||||
|
|
||||||
#b.get_validators = mock_get
|
# b.get_validators = mock_get
|
||||||
#mock_get_validators = mock_get
|
# mock_get_validators = mock_get
|
||||||
#monkeypatch.setattr('requests.get', mock_get)
|
# monkeypatch.setattr('requests.get', mock_get)
|
||||||
|
|
||||||
proposer_key = b.get_validators()[0]['pub_key']['value']
|
proposer_key = b.get_validators()[0]['pub_key']['value']
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user