()
| 38 | |
| 39 | |
| 40 | def test_plugins_all_plugins(): |
| 41 | tree_plugin = _loaded(parameters={"tree": True}) |
| 42 | logical_line_plugin = _loaded(parameters={"logical_line": True}) |
| 43 | physical_line_plugin = _loaded(parameters={"physical_line": True}) |
| 44 | report_plugin = _loaded( |
| 45 | plugin=_plugin(ep=_ep(name="R", group="flake8.report")), |
| 46 | ) |
| 47 | |
| 48 | plugins = finder.Plugins( |
| 49 | checkers=finder.Checkers( |
| 50 | tree=[tree_plugin], |
| 51 | logical_line=[logical_line_plugin], |
| 52 | physical_line=[physical_line_plugin], |
| 53 | ), |
| 54 | reporters={"R": report_plugin}, |
| 55 | disabled=[], |
| 56 | ) |
| 57 | |
| 58 | assert tuple(plugins.all_plugins()) == ( |
| 59 | tree_plugin, |
| 60 | logical_line_plugin, |
| 61 | physical_line_plugin, |
| 62 | report_plugin, |
| 63 | ) |
| 64 | |
| 65 | |
| 66 | def test_plugins_versions_str(): |
nothing calls this directly
no test coverage detected