From 75d0a917d7bac8d16d98f058b42cb6821001eeb8 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Mon, 6 Mar 2017 15:25:50 +0100 Subject: [PATCH] Remove stderr check --- tests/commands/test_commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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):