From b48a9f50efad6aa6e872bd9ce5853d5f069283cd Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Wed, 1 Mar 2023 10:53:58 -0800 Subject: [PATCH] tests: don't transform hrefs This is just in one spot, but we'll add it to others as we find them. --- tests/test_item_collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_item_collection.py b/tests/test_item_collection.py index 27e741fb2..2734ea139 100644 --- a/tests/test_item_collection.py +++ b/tests/test_item_collection.py @@ -72,7 +72,7 @@ def test_item_collection_to_dict(self) -> None: self.assertEqual(d.get("custom_field"), "My value") def test_item_collection_from_dict(self) -> None: - features = [item.to_dict() for item in self.items] + features = [item.to_dict(transform_hrefs=False) for item in self.items] d = { "type": "FeatureCollection", "features": features,