'Test that the proper message is displayed when access to
some components is restricted.'

def test_restricted_components_message(self):

    container_page = self.go_to_unit_page()
    html_component = container_page.xblocks[1]
    self.update_component(html_component, {'group_access': {self.id_base: [(self.id_base + 1)]}})
    self._verify_container_unit_access_message([], self.GROUP_VISIBILITY_MESSAGE)
