Commit 193e2f12 authored by Mathieu Giraud's avatar Mathieu Giraud

demo/, src/should.py: update tests

parent 24263768
......@@ -14,12 +14,12 @@ $ Do not launch any 'a' test
./should --only-f demo/cal.should
$ Launch only the two 'f' tests
r:Summary.* TODO:2
r:Summary.* total:2
r:Summary.*TODO:2
r:Summary.*total:2
./should --only-a demo/cal.should
$ Launch only the unique 'a' test
r:Summary.* failed-but-ALLOW:1
r:Summary.* total:1
r:Summary.*failed-but-ALLOW:1
r:Summary.*total:1
......@@ -2,7 +2,7 @@
!EXIT_CODE: 1
$ Report failing test
r:Summary.* failed:1
r:Summary.*failed:1
$ Report failing test
r:Summary.* TODO-but-ok:1
r:Summary.*TODO-but-ok:1
......@@ -2,7 +2,7 @@
!EXIT_CODE: 1
$ Launch only one test
r:Summary.* total:1 test
r:Summary.*total:1 test
$ Report failing test
r:Summary.* TODO-but-ok:1
r:Summary.*TODO-but-ok:1
......@@ -675,7 +675,7 @@ class TestSuite():
True
>>> s2.str_status(colorize = False)
'==> ok - ok:2 total:2 tests'
'==> ok - ok:2 - total:2 tests'
>>> print(s2.tap()) # doctest: +NORMALIZE_WHITESPACE
1..2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment