You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
495 B

# Copyright 2019 Coop IT Easy SCRL fs
# Robin Keunen <robin@coopiteasy.be>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
import odoo.tests.common as common
class EMCBaseCase(common.TransactionCase):
def as_user(self):
self.uid = self.ref("base.user_demo")
def as_emc_user(self):
self.uid = self.ref("easy_my_coop.res_users_user_emc_demo")
def as_emc_manager(self):
self.uid = self.ref("easy_my_coop.res_users_manager_emc_demo")