Fixture providing a mock module object.
(self)
| 159 | |
| 160 | @pytest.fixture |
| 161 | def mock_module(self): |
| 162 | """Fixture providing a mock module object.""" |
| 163 | module = Mock() |
| 164 | module.fullname = 'exploit/test/module' |
| 165 | module.__setitem__ = Mock() |
| 166 | return module |
| 167 | |
| 168 | @pytest.mark.asyncio |
| 169 | async def test_set_module_options_basic(self, mock_module): |
nothing calls this directly
no outgoing calls
no test coverage detected