'Test \'force_publish\' command doesn\'t work on non split courses'

def test_force_publish_non_split(self):

    course = CourseFactory.create(default_store=ModuleStoreEnum.Type.mongo)
    errstring = 'The    owning    modulestore    does    not    support    this    command.'
    with self.assertRaisesRegexp(CommandError, errstring):
        call_command('force_publish', unicode(course.id))
