equal
deleted
inserted
replaced
36 register_function(stockproc) |
36 register_function(stockproc) |
37 except AssertionError, ex: |
37 except AssertionError, ex: |
38 pass # already registered |
38 pass # already registered |
39 |
39 |
40 |
40 |
41 def setup_module(*args): |
41 def setUpModule(): |
42 global config, schema |
42 global config, schema |
43 config = TestServerConfiguration('data', apphome=CWRQLTC.datadir) |
43 config = TestServerConfiguration('data', apphome=CWRQLTC.datadir) |
44 config.bootstrap_cubes() |
44 config.bootstrap_cubes() |
45 schema = config.load_schema() |
45 schema = config.load_schema() |
46 schema['in_state'].inlined = True |
46 schema['in_state'].inlined = True |
47 schema['state_of'].inlined = False |
47 schema['state_of'].inlined = False |
48 schema['comments'].inlined = False |
48 schema['comments'].inlined = False |
49 |
49 |
50 def teardown_module(*args): |
50 def tearDownModule(): |
51 global config, schema |
51 global config, schema |
52 del config, schema |
52 del config, schema |
53 |
53 |
54 PARSER = [ |
54 PARSER = [ |
55 (r"Personne P WHERE P nom 'Zig\'oto';", |
55 (r"Personne P WHERE P nom 'Zig\'oto';", |