def test_iter(self): s = Service(Context(http = MockHttp(HTTP_SRC_DIR), service = "http://example.org/service.atomsvc")) self.assertEqual("http://example.org/entry/index.atom", s.iter().next().collection)