Searched refs:monkeypatch (Results 1 – 3 of 3) sorted by relevance
| /trunk/test/aoo-test/tests/selftest/ |
| H A D | test_fetch.py | 90 def test_cache_dir_override(monkeypatch, tmp_path): argument 91 monkeypatch.setenv("AOO_TEST_CACHE", str(tmp_path)) 107 def test_tools_prefer_the_environment_then_the_cache(monkeypatch, tmp_path): argument 110 monkeypatch.setenv("AOO_TEST_CACHE", str(tmp_path / "cache")) 111 monkeypatch.delenv("AOO_JING", raising=False) 116 …monkeypatch.setattr(fetch, "load_items", lambda path=None: [dict(pinned, sha256=hashlib.sha256(b"n… 120 monkeypatch.setenv("AOO_JING", str(own))
|
| H A D | test_kinds.py | 79 def test_a_written_baseline_reads_back(tmp_path, monkeypatch): argument 80 monkeypatch.setattr(kinds, "BASELINE", tmp_path / "baseline")
|
| /trunk/test/aoo-test/tests/harness/ |
| H A D | test_install.py | 99 …ver_prefers_the_location_then_the_environment_then_the_default_places(fake, monkeypatch, tmp_path): argument 107 …monkeypatch.setattr(install, "default_locations", lambda environ=None: [str(four), str(five), str(… 111 def test_discover_with_nothing_found(monkeypatch): argument 112 monkeypatch.setattr(install, "default_locations", lambda environ=None: [])
|