(self, pytester: Pytester)
| 799 | |
| 800 | class TestNodeKeywords: |
| 801 | def test_no_under(self, pytester: Pytester) -> None: |
| 802 | modcol = pytester.getmodulecol( |
| 803 | """ |
| 804 | def test_pass(): pass |
| 805 | def test_fail(): assert 0 |
| 806 | """ |
| 807 | ) |
| 808 | values = list(modcol.keywords) |
| 809 | assert modcol.name in values |
| 810 | for x in values: |
| 811 | assert not x.startswith("_") |
| 812 | assert modcol.name in repr(modcol.keywords) |
| 813 | |
| 814 | def test_issue345(self, pytester: Pytester) -> None: |
| 815 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected