refactor: resolve regression-safe CodeQL code-quality findings (#55531)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Mihir Kandoi
2026-06-02 08:25:32 +05:30
committed by GitHub
parent 4611dd1c36
commit 78f9434d14
59 changed files with 219 additions and 258 deletions

View File

@@ -245,7 +245,7 @@ class TestIssue(TestSetUp):
issue = make_issue(frappe.flags.current_time, index=1)
create_communication(issue.name, "test@example.com", "Received", frappe.flags.current_time)
self.assertTrue(issue.status == "Open")
self.assertEqual(issue.status, "Open")
# send a reply within response SLA
frappe.flags.current_time = get_datetime("2021-11-02 11:00")