Coverage for tests/test_plugin.py: 100.00%

6 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-04-08 13:40 +0200

1"""Tests for the plugin.""" 

2 

3import pytest 

4from duty.tools import mkdocs 

5 

6 

7def test_plugin() -> None: 

8 """Run the plugin.""" 

9 with pytest.raises(expected_exception=SystemExit) as exc: 

10 mkdocs.build()() 

11 assert exc.value.code == 0