'Test that raises CommandError for incorrect arguments'

def test_given_no_arguments_raises_command_error(self):

    with self.assertRaisesRegexp(CommandError, '.*    requires    one    or    more    arguments.*'):
        call_command('reindex_library')
