cubicweb/server/test/unittest_hook.py
changeset 12513 6f42f1460f99
parent 12036 4c2c731f9190
child 12514 eac7f5b20f9f
equal deleted inserted replaced
12512:661dd0436c01 12513:6f42f1460f99
    61 
    61 
    62 class HookCalled(Exception):
    62 class HookCalled(Exception):
    63     pass
    63     pass
    64 
    64 
    65 
    65 
    66 config = devtools.TestServerConfiguration('data', __file__)
    66 def setUpModule():
    67 config.bootstrap_cubes()
    67     global config, schema
    68 schema = config.load_schema()
    68     config = devtools.TestServerConfiguration('data', __file__)
       
    69     config.bootstrap_cubes()
       
    70     schema = config.load_schema()
    69 
    71 
    70 def tearDownModule(*args):
    72 def tearDownModule(*args):
    71     global config, schema
    73     global config, schema
    72     del config, schema
    74     del config, schema
    73 
    75