Skip to content

Commit

Permalink
Update test_fr_translations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lanto-razafindrabe committed Nov 23, 2024
1 parent 000e1cb commit cdb28fc
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions account_fr_ca_labels/tests/test_fr_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,6 @@ def test_translations_found_with_correct_term(self, data):
if self.is_enterprise(self.env):
assert self._find_translation(data[0], data[1])

# @classmethod
# def is_enterprise(cls):
# # List of modules exclusive to Odoo Enterprise
# enterprise_modules = [
# 'web_enterprise',
# 'hr_payroll',
# 'account_accountant',
# 'account_reports',
# # Add more enterprise-specific modules as needed
# ]

# # Check if any of the enterprise modules are installed
# installed_modules = cls.env['ir.module.module'].search(
# [('name', 'in', enterprise_modules), ('state', '=', 'installed')]
# )
# return bool(installed_modules)


@ddt
class TestReconciliation(TranslationCase):
Expand Down Expand Up @@ -119,23 +102,6 @@ def test_translations_found_with_correct_term(self, data):
else:
assert self._find_translation(term, translation)

# @classmethod
# def is_enterprise(cls):
# # List of modules exclusive to Odoo Enterprise
# enterprise_modules = [
# 'web_enterprise',
# 'hr_payroll',
# 'account_accountant',
# 'account_reports',
# # Add more enterprise-specific modules as needed
# ]

# # Check if any of the enterprise modules are installed
# installed_modules = cls.env['ir.module.module'].search(
# [('name', 'in', enterprise_modules), ('state', '=', 'installed')]
# )
# return bool(installed_modules)


@ddt
class TestPayment(TranslationCase):
Expand Down

0 comments on commit cdb28fc

Please sign in to comment.