'Test \'force_publish\' command with invalid course key'

def test_invalid_course_key(self):

    errstring = 'Invalid    course    key.'
    with self.assertRaisesRegexp(CommandError, errstring):
        call_command('force_publish', 'TestX/TS01')
