Skip to content

Commit

Permalink
tests: don't transform hrefs
Browse files Browse the repository at this point in the history
This is just in one spot, but we'll add it to others as we find them.
  • Loading branch information
gadomski committed Mar 1, 2023
1 parent d51acae commit b48a9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_item_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b48a9f5

Please sign in to comment.