The live test modules set DECNET_CONTRACT_TEST=true at module level, which persisted across xdist workers and caused the mutate endpoint to short-circuit before the mock was reached. Clear the env var in affected tests with monkeypatch.delenv.
The live test modules set DECNET_CONTRACT_TEST=true at module level, which persisted across xdist workers and caused the mutate endpoint to short-circuit before the mock was reached. Clear the env var in affected tests with monkeypatch.delenv.