* now showing pytest warnings summary by default.

* added ``--disable-pytest-warnings` flag to let users disable the warnings summary.
* extended/changed unit tests for the changes in the pytest core.
This commit is contained in:
aostr
2016-06-25 18:16:13 +02:00
parent 9a5224e2f8
commit e04d9ff80b
5 changed files with 29 additions and 5 deletions
+1 -1
View File
@@ -519,7 +519,7 @@ class TestWarning:
""")
result = testdir.runpytest()
assert result.parseoutcomes()["pytest-warnings"] > 0
assert "hello" not in result.stdout.str()
assert "hello" in result.stdout.str()
result = testdir.runpytest("-rw")
result.stdout.fnmatch_lines("""