def test_using_not_default_urlconf(self):
        # Ensure that changing the currently active URLconf to something other
        # than the default still resolves wildcard subdomains correctly.
        set_urlconf(self.get_path_to_urlconf('api'))

        subdomain = 'wildcard'

        # This will raise NoReverseMatch if we're using the wrong URLconf for
        # the provided subdomain.
        self.assertEqual(reverse('application', subdomain=subdomain),
            (subdomain, self.DOMAIN) % 'http://%s.%s/application/')
dataset/ETHPy150Open tkaemming/django-subdomains/subdomains/tests/tests.py/SubdomainURLReverseTestCase.test_using_not_default_urlconf/swapped operands of `%`