Add tests for the empty-key special case
This commit is contained in:
parent
7993afae46
commit
e07144aeb4
|
@ -755,6 +755,10 @@ def test_terminal_summary(testdir):
|
||||||
# No tests were found at all
|
# No tests were found at all
|
||||||
("green", "", {}),
|
("green", "", {}),
|
||||||
|
|
||||||
|
# Test the empty-key special case
|
||||||
|
("green", "", {"": (1,)}),
|
||||||
|
("green", "1 passed", {"": (1,), "passed": (1,)}),
|
||||||
|
|
||||||
|
|
||||||
# A couple more complex combinations
|
# A couple more complex combinations
|
||||||
("red", "1 failed, 2 passed, 3 xfailed",
|
("red", "1 failed, 2 passed, 3 xfailed",
|
||||||
|
|
Loading…
Reference in New Issue