Skip to content

Commit

Permalink
pytest 3.3 added the [XX%] markers to RHS of output by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Jun 14, 2019
1 parent 091f335 commit ba9f317
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/test_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,9 @@

def _expect_regular_output(testdir):
output = testdir.runpytest().stdout.str()
results = (
"""
behaviors.py ..
other_behaviors.py s.F.
""".lstrip()
)
# Regular results w/ status letters
assert results in output
assert "behaviors.py .." in output
assert "other_behaviors.py s.F." in output
# Failure/traceback reporting
assert "== FAILURES ==" in output
assert "AssertionError" in output
Expand Down

0 comments on commit ba9f317

Please sign in to comment.