equal
deleted
inserted
replaced
66 class HookCalled(Exception): pass |
66 class HookCalled(Exception): pass |
67 |
67 |
68 config = TestServerConfiguration('data') |
68 config = TestServerConfiguration('data') |
69 config.bootstrap_cubes() |
69 config.bootstrap_cubes() |
70 schema = config.load_schema() |
70 schema = config.load_schema() |
|
71 |
|
72 def teardown_module(*args): |
|
73 global config, schema |
|
74 del config, schema |
71 |
75 |
72 class AddAnyHook(hook.Hook): |
76 class AddAnyHook(hook.Hook): |
73 __regid__ = 'addany' |
77 __regid__ = 'addany' |
74 category = 'cat1' |
78 category = 'cat1' |
75 events = ('before_add_entity',) |
79 events = ('before_add_entity',) |