'Checks that the "edit page" button shows up
on non-cms pages with app placeholders and no static placeholders.'

def test_live_draft_markup_on_app_page(self):

    superuser = self.get_superuser()
    output = '<a    class="cms-btn    cms-btn-action    cms-btn-switch-edit"    href="?{}">Edit    page</a>'.format(get_cms_setting('CMS_TOOLBAR_URL__EDIT_ON'))
    Example1.objects.create(char_1='char_1', char_2='char_2', char_3='char_3', char_4='char_4')
    with self.login_user_context(superuser):
        response = self.client.get(('/en/example/latest/?%s' % get_cms_setting('CMS_TOOLBAR_URL__EDIT_OFF')))
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, output, html=True)
