'Exception for invalid selectors'

@unittest.skipIf((not current.deployment_settings.has_module('project')), 'project    module    disabled')
def testResolveSelectorExceptions(self):

    resource = current.s3db.resource('project_project')
    selector = 'organisation_id.test'
    self.assertRaises(AttributeError, S3ResourceField, resource, selector)
