'Test the case of the container page containing a link to another container page.'

def test_get_container_nested_container_fragment(self):

    root_usage_key = self._create_vertical()
    resp = self.create_xblock(parent_usage_key=root_usage_key, category='wrapper')
    self.assertEqual(resp.status_code, 200)
    wrapper_usage_key = self.response_usage_key(resp)
    resp = self.create_xblock(parent_usage_key=wrapper_usage_key, category='problem', boilerplate='multiplechoice.yaml')
    self.assertEqual(resp.status_code, 200)
    (html, __) = self._get_container_preview(root_usage_key)
    self.assertIn('wrapper-xblock', html)
    self.assertRegexpMatches(html, '"/container/{}"    class="action-button">\\s*<span    class="action-button-text">View</span>'.format(wrapper_usage_key))
