def test_without_subdomain(self):
        defaults = {'view': 'home'}
        template = self.make_template('{% url view %}')

        context = Context(defaults)
        rendered = template.render(context).strip()
        self.assertEqual(rendered, 'http://%s/' % self.DOMAIN)
dataset/ETHPy150Open tkaemming/django-subdomains/subdomains/tests/tests.py/SubdomainTemplateTagTestCase.test_without_subdomain/original