'If there is an invalid primary key, the error message should contain
the model associated with it.'

def test_helpful_error_message_invalid_pk(self):

    test_string = '[{\n                                                "pk":    "badpk",\n                                                "model":    "serializers.player",\n                                                "fields":    {\n                                                                "name":    "Bob",\n                                                                "rank":    1,\n                                                                "team":    "Team"\n                                                }\n                                }]'
    with self.assertRaisesMessage(DeserializationError, '(serializers.player:pk=badpk)'):
        list(serializers.deserialize('json', test_string))
