set the hostname factory in the service init

This commit is contained in:
Andy Smith
2011-01-07 13:02:55 -08:00
parent 862f28c0e2
commit e544747620

View File

@@ -72,7 +72,7 @@ class DirectTestCase(test.TestCase):
resp_parsed = json.loads(resp.body)
self.assertEqual(resp_parsed['data'], 'foo')
def test_req_params(self):
def test_post_params(self):
req = webob.Request.blank('/fake/echo')
req.environ['openstack.context'] = self.context
req.method = 'POST'