From 3cf0a1642eafe53e3c3b40b06cf105a32676a27f Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 11 Nov 2019 14:57:08 -0500 Subject: Test fixture improvements - ensure we escape out percent signs when a CompiledSQL or RegexSQL has percent signs in the SQL or in the parameter repr - to support combinations, print out complete test name in skip messages, py.test environment gives us a way to do this Change-Id: Ia9e62f7c1026c1465986144c5757e35fc164a2b8 --- lib/sqlalchemy/testing/plugin/plugin_base.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/sqlalchemy/testing/plugin/plugin_base.py') diff --git a/lib/sqlalchemy/testing/plugin/plugin_base.py b/lib/sqlalchemy/testing/plugin/plugin_base.py index be1984c9e..33967ec15 100644 --- a/lib/sqlalchemy/testing/plugin/plugin_base.py +++ b/lib/sqlalchemy/testing/plugin/plugin_base.py @@ -730,6 +730,9 @@ class FixtureFunctions(ABC): def fixture(self, *arg, **kw): raise NotImplementedError() + def get_current_test_name(self): + raise NotImplementedError() + _fixture_fn_class = None -- cgit v1.2.1