(interface)
| 180 | |
| 181 | @pytest.fixture(scope='function') |
| 182 | def broken_plugin(interface): |
| 183 | base_plugin = interface.make_dummy_plugin() |
| 184 | with open(base_plugin.path / (base_plugin.import_name + '.py'), 'a') as stream: |
| 185 | stream.write('raise ValueError("broken plugin")\n') |
| 186 | return base_plugin |
| 187 | |
| 188 | |
| 189 | @pytest.fixture(scope='function') |
nothing calls this directly
no test coverage detected