Publish curated Unraid-AppOps-Gateway source from 965c416ebf041123a61bc54b20bde0ad09b9ccc3
This commit is contained in:
1 parent
1188c86539
commit
ef95b500d8
6 files changed
+23
-16
No files matched your search
@@ -26,7 +26,7 @@ DELIVERY_SHA = "c" * 64
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def controller(monkeypatch):
|
||||
def controller(monkeypatch, tmp_path):
|
||||
module = _load_module(
|
||||
"projectbrain_delivery_revalidation_test",
|
||||
BROKER_ROOT / "status_server.py",
|
||||
@@ -34,6 +34,7 @@ def controller(monkeypatch):
|
||||
monkeypatch.setattr(module, "_self_upgrade_signature_is_valid", lambda *_a, **_k: True)
|
||||
monkeypatch.setattr(module, "_self_upgrade_secret", lambda: b"test-key-" + b"x" * 48)
|
||||
monkeypatch.setattr(module, "_require_controller_release", lambda: {"status": "ready"})
|
||||
monkeypatch.setattr(module, "WEBHOOK_INBOX_ROOT", tmp_path)
|
||||
return module
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user