From fb55fc7a03b6385f3c8fe517ceeb22b59973b59f Mon Sep 17 00:00:00 2001 From: Lilleman Date: Tue, 24 Nov 2026 10:05:08 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=201:=201=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1=20(1=20misread);=20the=20plan?= =?UTF-8?q?=20store's=20fake=20refuses=20an=20edit=20with=20neither=20fiel?= =?UTF-8?q?ds=20nor=20update,=20and=200.15.1=20is=20cut=20off=20v0.15.0,?= =?UTF-8?q?=20never=20from=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/plan_store/test_jira_epic.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/plan_store/test_jira_epic.py b/bin/plan_store/test_jira_epic.py index 4611484e..0674eda0 100644 --- a/bin/plan_store/test_jira_epic.py +++ b/bin/plan_store/test_jira_epic.py @@ -509,9 +509,11 @@ class Editing(unittest.TestCase): self.unlinked: object = None def http(self, method: str, url: str, authorization: str, body: object) -> object: - """Stands in for Jira: answers the epic, self.versions for the project's Fix Versions, self.open to the search, self.edited to an edit, self.commented to a new comment, self.linked to a new link and self.unlinked to a deleted one.""" + """Stands in for Jira: answers the epic, self.versions for the project's Fix Versions, self.open to the search, self.edited to an edit, self.commented to a new comment, self.linked to a new link and self.unlinked to a deleted one. Like Jira, it refuses an edit of an issue that holds neither fields nor update.""" self.calls.append((method, url, body)) assert authorization == AUTHORIZATION + if method == "PUT" and "/properties/" not in url and isinstance(body, dict) and "fields" not in body and "update" not in body: + return Failure("Jira answered 400: one of 'fields' or 'update' required") if method == "PUT": return self.edited if method == "DELETE":