'Test \'force_publish\' command with non-existing course key'

def test_course_key_not_found(self):

    errstring = 'Course    not    found.'
    with self.assertRaisesRegexp(CommandError, errstring):
        call_command('force_publish', unicode('course-v1:org+course+run'))
