From ce7878d56cb31b8ba94bc9729aefb96a1ea3e79c Mon Sep 17 00:00:00 2001 From: Michael Dahl Date: Thu, 31 Aug 2023 10:03:27 +0200 Subject: [PATCH] FIX test class parent --- snippets/python.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/python.json b/snippets/python.json index 4d03af1..127c87b 100644 --- a/snippets/python.json +++ b/snippets/python.json @@ -82,7 +82,7 @@ "odoo_test_model": { "prefix": "omodt", "body": [ - "\n\nclass Test${1:ModuleName}(models.${3|TransactionCase,SingleTransactionCase,SavepointCase,HttpCase|}):", + "\n\nclass Test${1:ModuleName}(${3|TransactionCase,SingleTransactionCase,SavepointCase,HttpCase|}):", "\n\tdef setUp(self):", "\t\tsuper(Test${1:ModuleName}, self).setUp()", "$0"