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

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