'Test \'force_publish\' command with more than 2 arguments'

def test_too_many_arguments(self):

    errstring = 'Error:    unrecognized    arguments:    invalid-arg'
    with self.assertRaisesRegexp(CommandError, errstring):
        call_command('force_publish', unicode(self.course.id), '--commit', 'invalid-arg')
