check: the pumping refusal only when libredesk/ carries conversations/
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
adc5ae12bd
commit
f58db178c7
1 file changed
+2
-1
+2
-1
@@ -406,7 +406,8 @@ def check_conversations():
|
|||||||
assert "img-src 'self'" in server.conversation_transcript("42").headers["content-security-policy"]
|
assert "img-src 'self'" in server.conversation_transcript("42").headers["content-security-policy"]
|
||||||
refuses(conversations.transcript, "../analyses", False)
|
refuses(conversations.transcript, "../analyses", False)
|
||||||
refuses(server.conversation_file, "42", "../../etc/passwd")
|
refuses(server.conversation_file, "42", "../../etc/passwd")
|
||||||
assert "From and To" in refuses(conversations.pump, {"start": "2026-11-01"})
|
if conversations.pompage: # ~/aimsight-libredesk may be on a branch without conversations/ yet
|
||||||
|
assert "From and To" in refuses(conversations.pump, {"start": "2026-11-01"})
|
||||||
assert set(conversations.pump_state()) == {"running", "log"}
|
assert set(conversations.pump_state()) == {"running", "log"}
|
||||||
pompage, conversations.pompage = conversations.pompage, None # no libredesk/ link: the app still runs
|
pompage, conversations.pompage = conversations.pompage, None # no libredesk/ link: the app still runs
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user