@@ -38,7 +38,7 @@ You can then restrict a test run to only run tests marked with ``webtest``::
38
38
39
39
test_server.py::test_send_http PASSED
40
40
41
- ======= 3 tests deselected by "-m 'webtest'" ========
41
+ ======= 3 tests deselected ========
42
42
======= 1 passed, 3 deselected in 0.12 seconds ========
43
43
44
44
Or the inverse, running all tests except the webtest ones::
@@ -54,7 +54,7 @@ Or the inverse, running all tests except the webtest ones::
54
54
test_server.py::test_another PASSED
55
55
test_server.py::TestClass::test_method PASSED
56
56
57
- ======= 1 tests deselected by "-m 'not webtest'" ========
57
+ ======= 1 tests deselected ========
58
58
======= 3 passed, 1 deselected in 0.12 seconds ========
59
59
60
60
Selecting tests based on their node ID
@@ -137,7 +137,7 @@ select tests based on their names::
137
137
138
138
test_server.py::test_send_http PASSED
139
139
140
- ======= 3 tests deselected by '-khttp' ========
140
+ ======= 3 tests deselected ========
141
141
======= 1 passed, 3 deselected in 0.12 seconds ========
142
142
143
143
And you can also run all tests except the ones that match the keyword::
@@ -153,7 +153,7 @@ And you can also run all tests except the ones that match the keyword::
153
153
test_server.py::test_another PASSED
154
154
test_server.py::TestClass::test_method PASSED
155
155
156
- ======= 1 tests deselected by '-knot send_http' ========
156
+ ======= 1 tests deselected ========
157
157
======= 3 passed, 1 deselected in 0.12 seconds ========
158
158
159
159
Or to select "http" and "quick" tests::
@@ -168,7 +168,7 @@ Or to select "http" and "quick" tests::
168
168
test_server.py::test_send_http PASSED
169
169
test_server.py::test_something_quick PASSED
170
170
171
- ======= 2 tests deselected by '-khttp or quick' ========
171
+ ======= 2 tests deselected ========
172
172
======= 2 passed, 2 deselected in 0.12 seconds ========
173
173
174
174
.. note ::
@@ -505,7 +505,7 @@ Note that if you specify a platform via the marker-command line option like this
505
505
506
506
test_plat.py s
507
507
508
- ======= 3 tests deselected by "-m 'linux2'" ========
508
+ ======= 3 tests deselected ========
509
509
======= 1 skipped, 3 deselected in 0.12 seconds ========
510
510
511
511
then the unmarked-tests will not be run. It is thus a way to restrict the run to the specific tests.
@@ -566,7 +566,7 @@ We can now use the ``-m option`` to select one set::
566
566
test_module.py:6: in test_interface_complex
567
567
assert 0
568
568
E assert 0
569
- ======= 2 tests deselected by "-m 'interface'" ========
569
+ ======= 2 tests deselected ========
570
570
======= 2 failed, 2 deselected in 0.12 seconds ========
571
571
572
572
or to select both "event" and "interface" tests::
@@ -592,5 +592,5 @@ or to select both "event" and "interface" tests::
592
592
test_module.py:9: in test_event_simple
593
593
assert 0
594
594
E assert 0
595
- ======= 1 tests deselected by "-m 'interface or event'" ========
595
+ ======= 1 tests deselected ========
596
596
======= 3 failed, 1 deselected in 0.12 seconds ========
0 commit comments