'Test import with list:string'

def testListStringImport(self):

    db = current.db
    s3db = current.s3db
    resource = s3db.resource('gis_layer_feature')
    resource.import_xml(self.tree)
    table = resource.table
    query = (table.uuid == 'TestLayerFeature')
    row = db(query).select(table.popup_fields, limitby=(0, 1)).first()
    self.assertTrue(isinstance(row.popup_fields, list))
    self.assertEqual(row.popup_fields, ['test1', 'test2'])
