web/test/unittest_formfields.py
branchtls-sprint
changeset 1654 57b9fd2462b8
parent 1570 5c40d9fb4e8d
child 1797 c2a80130b06d
equal deleted inserted replaced
1653:8b82227719f0 1654:57b9fd2462b8
    11 config = TestServerConfiguration('data')
    11 config = TestServerConfiguration('data')
    12 config.bootstrap_cubes()
    12 config.bootstrap_cubes()
    13 schema = config.load_schema()
    13 schema = config.load_schema()
    14 state_schema = schema['State']
    14 state_schema = schema['State']
    15 cwuser_schema = schema['CWUser']
    15 cwuser_schema = schema['CWUser']
    16 file_schema.schema = schema['File']
    16 file_schema = schema['File']
    17 
    17 
    18 class GuessFieldTC(TestCase):
    18 class GuessFieldTC(TestCase):
    19 
    19 
    20     def test_state_fields(self):
    20     def test_state_fields(self):
    21         title_field = guess_field(state_schema, schema['name'])
    21         title_field = guess_field(state_schema, schema['name'])