Skip to content

Commit

Permalink
Merge PR #662 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by sbidoul
  • Loading branch information
OCA-git-bot committed Dec 13, 2024
2 parents 600380f + 2e7a3a9 commit a7e850d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mis_builder/tests/test_data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ def _create_move(self, date, amount, debit_acc, credit_acc):
move._post()
return move

@classmethod
def setUpClass(cls):
super().setUpClass()
# Perform the tests with a brand new company to avoid intrusive data from other
# modules added to the default company
cls.company = cls.env["res.company"].create({"name": "Company Test"})
cls.env.user.company_id = cls.company

def setUp(self):
super().setUp()
self.account_model = self.env["account.account"]
Expand Down

0 comments on commit a7e850d

Please sign in to comment.