Skip to content

Commit

Permalink
[IMP] crm_salesperson_planner: Improve tests to allow inheritance
Browse files Browse the repository at this point in the history
TT38993
  • Loading branch information
victoralmau committed Nov 30, 2022
1 parent c377bd2 commit 4fbaece
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from odoo.tests import common


class TestCrmSalespersonPlannerVisit(common.TransactionCase):
class TestCrmSalespersonPlannerVisitBase(common.TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down Expand Up @@ -67,6 +67,8 @@ def setUpClass(cls):
}
)


class TestCrmSalespersonPlannerVisit(TestCrmSalespersonPlannerVisitBase):
def test_crm_salesperson_planner_visit(self):
self.assertNotEqual(self.visit1.name, "/")
self.assertEqual(self.visit1.state, "draft")
Expand Down

0 comments on commit 4fbaece

Please sign in to comment.