Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
3163155e by Cédric Krier at 2023-01-23T00:14:26+01:00
Activate tests module in setup of FieldMany2OneTreeTestCase
- - - - -


1 changed file:

- trytond/trytond/tests/test_field_many2one.py


Changes:

=====================================
trytond/trytond/tests/test_field_many2one.py
=====================================
@@ -243,6 +243,10 @@
     "Test Field Many2One Tree"
     model_name = 'test.many2one_tree'
 
+    @classmethod
+    def setUpClass(cls):
+        activate_module('tests')
+
     def create_tree(self, Many2One):
         self.root1, self.root2 = Many2One.create([{}, {}])
         self.first1, self.first2, self.first3, self.first4 = Many2One.create([



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/3163155ee6d807eba3bc2f1ddb03ac69b0a61983

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/3163155ee6d807eba3bc2f1ddb03ac69b0a61983
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to