Skip to content

Commit 0f96762

Browse files
authored
DBC22-6839: added location_description for test data (#1390)
1 parent c071de0 commit 0f96762

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/backend/apps/event/tests/test_data/event_feed_list_of_one.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
49.50658
2525
]
2626
},
27+
"location_description": "Quesnel-Hixon Road, in both directions. Landslide at Cottonwood bridge.",
2728
"route_at": "Highway 3",
2829
"route_from": "Pritchard Rd",
2930
"route_to": "",

src/backend/apps/event/tests/test_data/event_parsed_feed.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
[-120.526853, 49.451003],
2929
[-120.526427, 49.451752]
3030
])),
31+
("location_description", "Highway 3 between Bromley Pl and Frontage Rd"),
3132
("first_created", datetime.datetime(
3233
2023, 5, 19, 14, 29, 20, tzinfo=zoneinfo.ZoneInfo(key="America/Vancouver")
3334
)),
@@ -54,6 +55,7 @@
5455
("route_to", "Frontage Rd"),
5556
("direction", "NONE"),
5657
("location", Point(-120.526427, 49.451752)),
58+
("location_description", "Highway 3 between Bromley Pl and Frontage Rd"),
5759
# ("location", {"coordinates": [-120.526427, 49.451752]})
5860
("coordinates", [-120.526427, 49.451752]),
5961
("first_created", datetime.datetime(

0 commit comments

Comments
 (0)