'Regression for #17530 - should be able to cope with forward references
when the fixtures are not in the same files or directories.'

@skipUnlessDBFeature('supports_forward_references')
@override_settings(FIXTURE_DIRS=[os.path.join(_cur_dir, 'fixtures_1'), os.path.join(_cur_dir, 'fixtures_2')])
def test_loaddata_forward_refs_split_fixtures(self):

    management.call_command('loaddata', 'forward_ref_1.json', 'forward_ref_2.json', verbosity=0)
    self.assertEqual(Book.objects.all()[0].id, 1)
    self.assertEqual(Person.objects.all()[0].id, 4)
