'Test empty path is rewritten to root.'

def test_rewrite_empty_path(self):

    req = webob.Request.blank('')
    self.middleware(req.environ, self.start_fake_response)
    self.assertEqual('http://localhost/', req.path_url)
