def test_explicit_reverse(self):
        # Uses explicitly provided settings.SUBDOMAIN_URLCONF[subdomain]
        self.assertEqual(reverse('home', subdomain='api'),
            'http://api.%s/' % self.DOMAIN)
        self.assertEqual(reverse('view', subdomain='api'),
            'http://api.%s/view/' % self.DOMAIN)
dataset/ETHPy150Open tkaemming/django-subdomains/subdomains/tests/tests.py/SubdomainURLReverseTestCase.test_explicit_reverse/original