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

def test_unknown_format(self):

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