(self, pytester: Pytester)
| 770 | |
| 771 | class TestSkip: |
| 772 | def test_skip_class(self, pytester: Pytester) -> None: |
| 773 | pytester.makepyfile( |
| 774 | """ |
| 775 | import pytest |
| 776 | @pytest.mark.skip |
| 777 | class TestSomething(object): |
| 778 | def test_foo(self): |
| 779 | pass |
| 780 | def test_bar(self): |
| 781 | pass |
| 782 | |
| 783 | def test_baz(): |
| 784 | pass |
| 785 | """ |
| 786 | ) |
| 787 | rec = pytester.inline_run() |
| 788 | rec.assertoutcome(skipped=2, passed=1) |
| 789 | |
| 790 | def test_skips_on_false_string(self, pytester: Pytester) -> None: |
| 791 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected