Skip to content

Commit 065c19e

Browse files
[FIX] auditlog: ensure methods from test template are actually run
Since odoo/odoo@6dc96811c24ec, test methods from inherited test classes are not run by default.
1 parent f0ae9d7 commit 065c19e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

auditlog/tests/test_auditlog.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111

1212

1313
class AuditlogCommon:
14+
"""Base case with basic log creation tests"""
15+
16+
# Ensure that test cases that inherit from this class run the methods
17+
# that it provides.
18+
allow_inherited_tests_method = True
19+
1420
def test_LogCreation(self):
1521
"""First test, caching some data."""
1622
self.groups_rule.set_to_confirmed()

0 commit comments

Comments
 (0)