From 1e95f2147487588fa53c581a3f918be3b6ee61a5 Mon Sep 17 00:00:00 2001 From: canihavesomecoffee Date: Sat, 7 Mar 2026 09:58:30 +0100 Subject: [PATCH 1/2] Reapply "fix: use SQLAlchemy .is_(False) instead of Python identity check" This reverts commit 576eba8ff612fbca8a10659c6a2c9c2f88f15da6. --- mod_test/controllers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_test/controllers.py b/mod_test/controllers.py index 67de3a4d..d5e91c9e 100644 --- a/mod_test/controllers.py +++ b/mod_test/controllers.py @@ -99,7 +99,7 @@ def get_test_results(test) -> List[Dict[str, Any]]: # We need to check if the regression test had any file that shouldn't have been ignored. outputs = RegressionTestOutput.query.filter(and_( RegressionTestOutput.regression_id == category_test['test'].id, - RegressionTestOutput.ignore is False + RegressionTestOutput.ignore.is_(False) )).all() got = None if len(outputs) > 0: From d834297a5a3b98faa6ba9c8f2943691a4c13899e Mon Sep 17 00:00:00 2001 From: canihavesomecoffee Date: Sat, 7 Mar 2026 11:07:36 +0100 Subject: [PATCH 2/2] fix: Add error display for edge case --- templates/test/by_id.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/test/by_id.html b/templates/test/by_id.html index 92aa37e7..d3964cb6 100644 --- a/templates/test/by_id.html +++ b/templates/test/by_id.html @@ -153,6 +153,8 @@

Fail {%- endif %}