def METHOD_NAME(env):
    with override_settings(SITE_URL='http://example.com:8081'):
        KnownDomain.objects.create(domainname='foobar', organizer=env[0])
        assert eventreverse(env[1], 'presale:event.index') == 'http://foobar:8081/2015/'