'Verify PR #942 fixed.'

def test_lookup_kwargs_with_identifiers__field_without_attr(self):

    class FieldWithoutAttributeNoteResource(NoteResource, ):
        noattrfield = fields.CharField()
    note = FieldWithoutAttributeNoteResource()
    note_bundle = note.build_bundle()
    note_bundle.data[u'title'] = u'Whee!'
    kwargs = OrderedDict([(u'noattrfield', u'foo'), (u'id', 1)])
    lookup_kwargs = note.lookup_kwargs_with_identifiers(note_bundle, kwargs)
    self.assertEqual(lookup_kwargs, {u'id': 1})
