server/test/unittest_rql2sql.py
changeset 4766 162b2b127b15
parent 4467 0e73d299730a
child 4831 c5aec27c1bf7
equal deleted inserted replaced
4764:ec9c20c6b9f7 4766:162b2b127b15
    34 config.bootstrap_cubes()
    34 config.bootstrap_cubes()
    35 schema = config.load_schema()
    35 schema = config.load_schema()
    36 schema['in_state'].inlined = True
    36 schema['in_state'].inlined = True
    37 schema['state_of'].inlined = False
    37 schema['state_of'].inlined = False
    38 schema['comments'].inlined = False
    38 schema['comments'].inlined = False
       
    39 
       
    40 def teardown_module(*args):
       
    41     global config, schema
       
    42     del config, schema
    39 
    43 
    40 PARSER = [
    44 PARSER = [
    41     (r"Personne P WHERE P nom 'Zig\'oto';",
    45     (r"Personne P WHERE P nom 'Zig\'oto';",
    42      '''SELECT _P.cw_eid
    46      '''SELECT _P.cw_eid
    43 FROM cw_Personne AS _P
    47 FROM cw_Personne AS _P