'Test for ticket #13030 - XML version
natural keys deserialize with fk to inheriting model'

def test_nk_deserialize_xml(self):

    management.call_command(u'loaddata', u'model-inheritance.json', verbosity=0)
    management.call_command(u'loaddata', u'nk-inheritance.json', verbosity=0)
    management.call_command(u'loaddata', u'nk-inheritance2.xml', verbosity=0)
    self.assertEqual(NKChild.objects.get(pk=2).data, u'banana')
    self.assertEqual(RefToNKChild.objects.get(pk=2).nk_fk.data, u'apple')
