Problem: Flake8 whining about spaces after comment #

Solution: Made things pretty
This commit is contained in:
z-bowen 2018-08-08 12:16:00 +02:00
parent f653dc8de0
commit 76240613db

View File

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