(self, pytester: Pytester)
| 861 | |
| 862 | class TestNodeKeywords: |
| 863 | def test_no_under(self, pytester: Pytester) -> None: |
| 864 | modcol = pytester.getmodulecol( |
| 865 | """ |
| 866 | def test_pass(): pass |
| 867 | def test_fail(): assert 0 |
| 868 | """ |
| 869 | ) |
| 870 | values = list(modcol.keywords) |
| 871 | assert modcol.name in values |
| 872 | for x in values: |
| 873 | assert not x.startswith("_") |
| 874 | assert modcol.name in repr(modcol.keywords) |
| 875 | |
| 876 | def test_issue345(self, pytester: Pytester) -> None: |
| 877 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected