Adjust the 'durations hidden' message

This commit is contained in:
Bruno Oliveira
2018-10-13 18:36:20 -03:00
parent 7a271a91b0
commit 3683d92c53
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -818,6 +818,10 @@ class TestDurations(object):
result.stdout.fnmatch_lines_random(
["*durations*", "*call*test_3*", "*call*test_2*"]
)
assert "test_something" not in result.stdout.str()
result.stdout.fnmatch_lines(
["(0.00 durations hidden. Use -vv to show these durations.)"]
)
def test_calls_show_2(self, testdir):
testdir.makepyfile(self.source)