'Test for ticket #4371 -- Loading data of an unknown format should fail
Validate that error conditions are caught correctly'

def test_unknown_format(self):

    with six.assertRaisesRegex(self, management.CommandError, u"Problem    installing    fixture    'bad_fixture1':    unkn    is    not    a    known    serialization    format."):
        management.call_command(u'loaddata', u'bad_fixture1.unkn', verbosity=0)
