'Verifies that a xblock with an unreleased draft and a released published version is visible'

def test_draft_released_xblock(self):

    vertical = self._create_xblock_with_start_date('draft_released', self.past, publish=True)
    vertical.start = self.future
    modulestore().update_item(vertical, self.dummy_user)
    self.assertTrue(utils.is_currently_visible_to_students(vertical))
