def test_get(self): c = Context() c.service = "http://example.org/service.atomsvc" c.http = MockHttp(HTTP_SRC_DIR) s = Service(c) headers, body = s.get() self.assertEqual(headers["status"], "200") self.assertEqual(s.uri(), "http://example.org/service.atomsvc")