'Test that we get the attribute values we expect.'

def test_get_attribute_nonexist(self):

    self.resolver.return_value = 'value1'
    attribs = attributes.Attributes('test    resource', self.attributes_schema, self.resolver)
    self.assertRaises(KeyError, attribs.__getitem__, 'not    there')
    self.assertFalse(self.resolver.called)
