Debian Codegraph @

tests/fixtures/test_note_create_wo_auth.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <osm version="0.6" generator="OpenStreetMap server">
3 <note lon="8.432" lat="47.123">
4 <id>824</id>
5 <url>http://api06.dev.openstreetmap.org/api/0.6/notes/824</url>
6 <comment_url>http://api06.dev.openstreetmap.org/api/0.6/notes/824/comment</comment_url>
7 <close_url>http://api06.dev.openstreetmap.org/api/0.6/notes/824/close</close_url>
8 <date_created>2014-10-03 16:09:11 UTC</date_created>
9 <status>open</status>
10 <comments>
11 <comment>
12 <date>2014-10-03 16:09:12 UTC</date>
13 <action>opened</action>
14 <text>This is an unauthenticated test</text>
15 <html>&lt;p&gt;This is an unauthenticated test&lt;/p&gt;</html>
16 </comment>
17 </comments>
18 </note>
19 </osm>
20
21 {'comments': [{'action': 'opened',
22 'date': '2014-10-03 16:09:12 UTC',
23 'html': '<p>This is an unauthenticated test</p>',
24 'text': 'This is an unauthenticated test',
25 'uid': None,
26 'user': None}],
27 'date_closed': None,
28 'date_created': '2014-10-03 16:09:11 UTC',
29 'id': '824',
30 'lat': 47.123,
31 'lon': 8.432,
32 'status': 'open'}