def test_link_is_present_at_homepage(self):
        response = self.app.get(
            reverse('index',),
        )
        # response redirecto to login
        self.assertEqual(response.status_code, 302)
        response = response.follow()
        self.assertEqual(response.status_code, 200)
        self.assertTemplateUsed(response, 'registration/login.html')
        expected_url = reverse('validator.packtools.stylechecker',)
        response.mustcontain(expected_url % 'href="%s"')
dataset/ETHPy150Open scieloorg/scielo-manager/scielomanager/validator/tests/tests_pages.py/ValidatorTests.test_link_is_present_at_homepage/swapped operands of `%`