Use SavepointCase instead of TransactionCase
It means less records to create for each test
This commit is contained in:
parent
95f5e2abaf
commit
675335a26b
|
|
@ -13,7 +13,7 @@ import odoo.addons.server_environment.models.server_env_mixin as \
|
|||
server_env_mixin
|
||||
|
||||
|
||||
class ServerEnvironmentCase(common.TransactionCase):
|
||||
class ServerEnvironmentCase(common.SavepointCase):
|
||||
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
|
|
|
|||
Loading…
Reference in New Issue