You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
474 B
13 lines
474 B
# Copyright 2018 Vauxoo (https://www.vauxoo.com) <info@vauxoo.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
from openerp.tests.common import TransactionCase
|
|
|
|
|
|
class TestProfiling(TransactionCase):
|
|
|
|
def test_profile_creation(self):
|
|
"""We are testing the creation of a profile."""
|
|
prof_obj = self.env['profiler.profile']
|
|
profile = prof_obj.create({'name': 'this_profiler'})
|
|
profile.enable()
|
|
profile.disable()
|