diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 394e524..c6540e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,4 +26,4 @@ jobs: - name: Test run: uv run pytest --cov=flameconnect --cov-report=term-missing --tb=short - name: Mutation test - run: uv run mutmut run --max-children 2 + run: uv run mutmut run --max-children 4 diff --git a/setup.cfg b/setup.cfg index 21df9b8..45d47ce 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,8 @@ [mutmut] -paths_to_mutate = - src/flameconnect/protocol.py - src/flameconnect/client.py - src/flameconnect/auth.py - src/flameconnect/b2c_login.py +paths_to_mutate = src/flameconnect also_copy = src +do_not_mutate = + */__init__.py + src/flameconnect/const.py + src/flameconnect/exceptions.py +max_stack_depth = 8 diff --git a/tests/test_cli_commands.py b/tests/test_cli_commands.py index dba5ff5..24b41ed 100644 --- a/tests/test_cli_commands.py +++ b/tests/test_cli_commands.py @@ -1443,7 +1443,6 @@ async def test_tui_import_error(self, capsys): with ( patch.dict("sys.modules", {"flameconnect.tui": None}), - patch("builtins.__import__", side_effect=ImportError("no tui")), pytest.raises(SystemExit), ): await cmd_tui()