Skip to content

Commit

Permalink
Ignore stderr assertion as it is not used anyway and only makes problems
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Jun 16, 2017
1 parent 1a2ecb9 commit 60d357c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions website/tests/test_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,8 @@ def test_export_paths(self):
def test_export(self):

def do_export(filename):
# as tqdm by default writes to sys.stderr it is better to suspend its work
import tqdm
self.monkeypatch.setattr(tqdm, 'tqdm', lambda x, total=None: x)
command = 'export protein_related -e site_specific_network_of_kinases_and_targets --paths %s' % filename
msg, error = self.run_command(command)
assert not error
assert 'Exported site_specific_network_of_kinases_and_targets to %s' % filename in msg

from tests.test_imports.test_export import TestExport
Expand Down

0 comments on commit 60d357c

Please sign in to comment.