Skip to content

Commit f71045f

Browse files
committed
Update pytest marker test suite
1 parent 7239266 commit f71045f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test_markers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pytest -v -m marker_test_suite # Runs A, B, C, D
55
pytest -v -m marker1 # Runs A
66
pytest -v -m marker2 # Runs B, C
7-
pytest -v -m xkcd_code # Runs C
7+
pytest -v -m marker3 # Runs C
88
pytest test_markers.py -v -m "not marker2" # Runs A, D
99
1010
(The "-v" will display the names of tests as they run.)
@@ -29,7 +29,7 @@ def test_B(self):
2929
self.assert_text("New Bug", "div#ctitle")
3030

3131
@pytest.mark.marker2
32-
@pytest.mark.xkcd_code # Tests can have multiple markers
32+
@pytest.mark.marker3 # Tests can have multiple markers
3333
def test_C(self):
3434
self.open("https://xkcd.com/844/")
3535
self.assert_text("Good Code", "div#ctitle")

0 commit comments

Comments
 (0)