'Test for ticket #4371 -- Loading a fixture file with no data returns an error.
Validate that error conditions are caught correctly'

def test_empty(self):

    with six.assertRaisesRegex(self, management.CommandError, u"No    fixture    data    found    for    'empty'.    \\(File    format    may    be    invalid.\\)"):
        management.call_command(u'loaddata', u'empty', verbosity=0)
