Skip to content

Commit

Permalink
Merge PR OCA#2845 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by thomaspaulb
  • Loading branch information
OCA-git-bot committed Feb 14, 2024
2 parents d17b14e + 8bdc546 commit af37e8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module_auto_update/tests/test_addon_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).

import os
import unittest

from odoo.tests import TransactionCase

from .. import addon_hash
from ..models.module import DEFAULT_EXCLUDE_PATTERNS


class TestAddonHash(unittest.TestCase):
class TestAddonHash(TransactionCase):
def setUp(self):
super(TestAddonHash, self).setUp()
self.sample_dir = os.path.join(
Expand All @@ -30,7 +31,6 @@ def test_basic(self):
"README.rst",
"data/f1.xml",
"data/f2.xml",
"i18n/en.po",
"i18n/en_US.po",
"i18n/fr.po",
"i18n/fr_BE.po",
Expand Down Expand Up @@ -73,4 +73,4 @@ def test2(self):
exclude_patterns=["*.pyc", "*.pyo", "*.pot", "static/*"],
keep_langs=["fr_FR", "nl"],
)
self.assertEqual(checksum, "fecb89486c8a29d1f760cbd01c1950f6e8421b14")
self.assertEqual(checksum, "b69b17e859da486b5f6e890dc348c2bc0d497fa4")

0 comments on commit af37e8b

Please sign in to comment.