From 56e040dd3152f3d56eb660c52ce7f13e10daebb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 7 Sep 2014 00:27:56 +0200 Subject: [PATCH] backend.name is a function since changeset 01399128964f --- trytond/tests/test_modelsql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/tests/test_modelsql.py b/trytond/tests/test_modelsql.py index 90356570c0..e9ea26d042 100644 --- a/trytond/tests/test_modelsql.py +++ b/trytond/tests/test_modelsql.py @@ -20,7 +20,7 @@ class ModelSQLTestCase(unittest.TestCase): self.modelsql = POOL.get('test.modelsql') self.modelsql_timestamp = POOL.get('test.modelsql.timestamp') - @unittest.skipIf(backend.name == 'sqlite', + @unittest.skipIf(backend.name() == 'sqlite', 'SQLite not concerned because tryton don\'t set "NOT NULL"' 'constraint: "ALTER TABLE" don\'t support NOT NULL constraint' 'without default value')