isolate#
- graftkit.testing.isolate(monkeypatch: pytest.MonkeyPatch, folder: Path) None[source]#
Keep the developer’s environment out of a test: root, user config, settings, cache.
- Parameters:
- monkeypatchMonkeyPatch
The test’s monkeypatch.
- folderPath
A temporary folder for the (absent) user config and the cache.