def test_domain_remap_configured_with_empty_storage_domain(self):
    self.app = domain_remap.DomainRemapMiddleware(FakeApp(), {'storage_domain': ''})
    req = Request.blank('/test', environ={'REQUEST_METHOD': 'GET'}, headers={'Host': 'c.AUTH_a.example.com'})
    resp = self.app(req.environ, start_response)
    self.assertEquals(resp, '/test')
def test_domain_remap_configured_with_empty_storage_domain(self):
    self.app = domain_remap.DomainRemapMiddleware(FakeApp(), {'storage_domain': })
    req = Request.blank('/test', environ={'REQUEST_METHOD': 'GET'}, headers={'Host': 'c.AUTH_a.example.com'})
    resp = self.app(req.environ, start_response)
    self.assertEquals(resp, '/test')