diff --git a/tests/commands/test_commands.py b/tests/commands/test_commands.py index 37bec6fa..e10b3157 100644 --- a/tests/commands/test_commands.py +++ b/tests/commands/test_commands.py @@ -95,12 +95,10 @@ def test_bigchain_export_my_pubkey_when_pubkey_set(capsys, monkeypatch): monkeypatch.setitem(config['keypair'], 'public', 'Charlie_Bucket') _, _ = capsys.readouterr() # has the effect of clearing capsys run_export_my_pubkey(args) - out, err = capsys.readouterr() + out, _ = capsys.readouterr() lines = out.splitlines() - err_lines = err.splitlines() assert config['keypair']['public'] in lines assert 'Charlie_Bucket' in lines - assert 'bigchaindb args = {}'.format(args) in err_lines def test_bigchain_export_my_pubkey_when_pubkey_not_set(monkeypatch):