Skip to content

Commit

Permalink
Remove comment_count for test without discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
metaodi committed Apr 2, 2024
1 parent ba6af13 commit 2bfc206
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion tests/changeset_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ def test_ChangesetGetWithoutDiscussion(api, add_response):
"id": 52924,
"closed_at": datetime.datetime(2015, 1, 1, 14, 54, 2),
"created_at": datetime.datetime(2015, 1, 1, 14, 54, 1),
"comments_count": 3,
"max_lat": "58.3369242",
"max_lon": "25.8829107",
"min_lat": "58.336813",
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/test_ChangesetGetWithoutDiscussion.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="OpenStreetMap server" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
<changeset id="52924" user="metaodi" uid="1841" created_at="2015-01-01T14:54:01Z" closed_at="2015-01-01T14:54:02Z" open="false" min_lat="58.336813" min_lon="25.8823273" max_lat="58.3369242" max_lon="25.8829107" comments_count="3">
<changeset id="52924" user="metaodi" uid="1841" created_at="2015-01-01T14:54:01Z" closed_at="2015-01-01T14:54:02Z" open="false" min_lat="58.336813" min_lon="25.8823273" max_lat="58.3369242" max_lon="25.8829107">
<tag k="created_by" v="osmapi/0.4.1"/>
<tag k="comment" v="My test"/>
</changeset>
Expand Down

0 comments on commit 2bfc206

Please sign in to comment.