'settings.FIXTURE_DIRS cannot contain duplicates in order to avoid
repeated fixture loading.'

@override_settings(FIXTURE_DIRS=[os.path.join(_cur_dir, 'fixtures_1'), os.path.join(_cur_dir, 'fixtures_1')])
def test_fixture_dirs_with_duplicates(self):

    with self.assertRaisesMessage(ImproperlyConfigured, 'settings.FIXTURE_DIRS    contains    duplicates.'):
        management.call_command('loaddata', 'absolute.json', verbosity=0)
