'Test whether field selectors for lazy virtual fields
can be properly resolved'

def testLazyVirtualFieldsResolve(self):

    assertEqual = self.assertEqual
    resource = current.s3db.resource('pr_person')
    from s3 import S3ResourceField
    rfield = S3ResourceField(resource, 'name')
    assertEqual(rfield.field, None)
    assertEqual(rfield.ftype, 'virtual')
