cubicweb/server/test/unittest_schemaserial.py
changeset 11269 73ac69970047
parent 11215 4e79acdc36a6
child 11358 179b5ff3f428
equal deleted inserted replaced
11268:f6938ae0dea8 11269:73ac69970047
    36     helper.TYPE_MAPPING['BabarTestType'] = 'TEXT'
    36     helper.TYPE_MAPPING['BabarTestType'] = 'TEXT'
    37     helper.TYPE_CONVERTERS['BabarTestType'] = lambda x: '"%s"' % x
    37     helper.TYPE_CONVERTERS['BabarTestType'] = lambda x: '"%s"' % x
    38 
    38 
    39     global schema, config
    39     global schema, config
    40     loader = CubicWebSchemaLoader()
    40     loader = CubicWebSchemaLoader()
    41     apphome = Schema2RQLTC.datadir + '-schemaserial'
    41     config = TestServerConfiguration('data-schemaserial', __file__)
    42     config = TestServerConfiguration('data', apphome=apphome)
       
    43     config.bootstrap_cubes()
    42     config.bootstrap_cubes()
    44     schema = loader.load(config)
    43     schema = loader.load(config)
    45 
    44 
    46 
    45 
    47 def tearDownModule(*args):
    46 def tearDownModule(*args):