(mocker: MockerFixture, config: BaseConfig)
| 287 | |
| 288 | @pytest.fixture |
| 289 | def mock_plugin(mocker: MockerFixture, config: BaseConfig) -> BaseCommitizen: |
| 290 | mock = MockPlugin(config) |
| 291 | mocker.patch("commitizen.factory.committer_factory", return_value=mock) |
| 292 | return mock |
| 293 | |
| 294 | |
| 295 | SUPPORTED_FORMATS = ("markdown", "textile", "asciidoc", "restructuredtext") |