|
@ -1,9 +1,9 @@ |
|
|
# © 2015 Therp BV <https://therp.nl> |
|
|
|
|
|
|
|
|
# Copyright 2015 Therp BV <https://therp.nl> |
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). |
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). |
|
|
from odoo.tests.common import TransactionCase |
|
|
from odoo.tests.common import TransactionCase |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestAuditlog(object): |
|
|
|
|
|
|
|
|
class AuditlogCommon(object): |
|
|
|
|
|
|
|
|
def test_LogCreation(self): |
|
|
def test_LogCreation(self): |
|
|
"""First test, caching some data.""" |
|
|
"""First test, caching some data.""" |
|
@ -81,7 +81,7 @@ class TestAuditlog(object): |
|
|
]).ensure_one()) |
|
|
]).ensure_one()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestAuditlogFull(TransactionCase, TestAuditlog): |
|
|
|
|
|
|
|
|
class TestAuditlogFull(TransactionCase, AuditlogCommon): |
|
|
|
|
|
|
|
|
def setUp(self): |
|
|
def setUp(self): |
|
|
super(TestAuditlogFull, self).setUp() |
|
|
super(TestAuditlogFull, self).setUp() |
|
@ -101,7 +101,7 @@ class TestAuditlogFull(TransactionCase, TestAuditlog): |
|
|
super(TestAuditlogFull, self).tearDown() |
|
|
super(TestAuditlogFull, self).tearDown() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestAuditlogFast(TransactionCase, TestAuditlog): |
|
|
|
|
|
|
|
|
class TestAuditlogFast(TransactionCase, AuditlogCommon): |
|
|
|
|
|
|
|
|
def setUp(self): |
|
|
def setUp(self): |
|
|
super(TestAuditlogFast, self).setUp() |
|
|
super(TestAuditlogFast, self).setUp() |
|
|