From 9045290f547a086c944552572eb4a209cdf93825 Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Sat, 12 Aug 2023 08:31:35 +0300 Subject: [PATCH] Added/Updated tests\bugs\core_5674_test.py: Adjusted expected error text for FB 3.0.12: now it is the same as for FB 4.x+ --- tests/bugs/core_5674_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/bugs/core_5674_test.py b/tests/bugs/core_5674_test.py index dd480b37..0959f098 100644 --- a/tests/bugs/core_5674_test.py +++ b/tests/bugs/core_5674_test.py @@ -10,6 +10,9 @@ FBTEST: bugs.core_5674 NOTES: [19.07.2023] pzotov Adjusted expected error text for FB 4.x and 5.x: it now contains not only errors but also warnings about non-used CTEs. + [12.08.2023] pzotov + Adjusted expected error text for FB 3.0.12: now it is the same as for FB 4.x+ + Change caused by commit "Print warnings occurred during commit", date: 07-jul-2023, started on builds 4.0.3.2958 and 5.0.0.1101. Discussed with Vlad, 10-jul-2023. """ @@ -120,7 +123,7 @@ expected_stdout = """ @pytest.mark.version('>=3.0.3') def test_1(act: Action): act.expected_stdout = expected_stdout - if act.is_version('<4'): + if act.is_version('<3.0.12'): act.expected_stderr = """ SQL warning code = -104 -CTE "X" is not used in query