Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
Uncomment tests
Browse files Browse the repository at this point in the history
  • Loading branch information
constrict0r committed Nov 3, 2018
1 parent f0c1f1d commit a155ce2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test_amanita.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ def test_console_no_args():


# Console script with arguments.
# def test_console_args(capfd):

# console_output = subprocess.check_output(['amanita --version'],
# env=os.environ.copy(),
# shell=True)
# print(console_output)
# out, err = capfd.readouterr()
# assert "amanita" in out
def test_console_args(capfd):

console_output = subprocess.check_output(['amanita --version'],
env=os.environ.copy(),
shell=True)
print(console_output)
out, err = capfd.readouterr()
assert "amanita" in out

0 comments on commit a155ce2

Please sign in to comment.