def test_form_multilingual_admin(self):
        """
        Tests for correct form URL mangling in preview_link templatetag
        """
        language = 'en'
        with force_language("en"):
            pages_root = self.get_pages_root()
            link = preview_link(self.page2,language=language)
        self.assertEqual(link,(pages_root,self.page2.get_slug()) % '%s%s/')
        self.assertEqual(link,'/en/content/page2/')
dataset/ETHPy150Open divio/django-cms/cms/tests/test_nonroot.py/NonRootCase.test_form_multilingual_admin/swapped operands of `%`