Rename "warnings" to "pytest-warnings" in terminal output

Fix #970
This commit is contained in:
Bruno Oliveira
2015-08-27 19:59:52 -03:00
parent 06b1b69fb7
commit e59471766a
4 changed files with 10 additions and 7 deletions
+2 -2
View File
@@ -429,12 +429,12 @@ class TestWarning:
pass
""")
result = testdir.runpytest()
assert result.parseoutcomes()["warnings"] > 0
assert result.parseoutcomes()["pytest-warnings"] > 0
assert "hello" not in result.stdout.str()
result = testdir.runpytest("-rw")
result.stdout.fnmatch_lines("""
===*warning summary*===
===*pytest-warning summary*===
*WT1*test_warn_on_test_item*:5*hello*
""")