'Test field selector resolution for dynamic components'

def testFieldSelectorResolution(self):

    s3db = current.s3db
    assertEqual = self.assertEqual
    resource = s3db.resource('org_organisation')
    rfield = resource.resolve_selector('test_rating.value')
    assertEqual(rfield.tname, self.TABLENAME)
    assertEqual(rfield.fname, 'value')
    assertEqual(rfield.ftype, 'integer')
