Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,201 changes: 2,040 additions & 1,161 deletions tests/test_data/arrivals.json

Large diffs are not rendered by default.

3,211 changes: 2,040 additions & 1,171 deletions tests/test_data/departures.json

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions tests/test_data/isochrones.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"context": {
"current_datetime": "20240523T094155",
"timezone": "Europe/Paris"
},
"isochrones": [
{
"from": {
Expand Down Expand Up @@ -785,13 +781,5 @@
"min_duration": 0,
"requested_date_time": "20240523T094155"
}
],
"links": [
{
"href": "https://api.navitia.io/v1/coverage/sncf/stop_areas/{stop_area.id}",
"rel": "stop_areas",
"templated": true,
"type": "stop_area"
}
]
}
5 changes: 0 additions & 5 deletions tests/test_data/places_nearby.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"context": {
"current_datetime": "20240508T184211",
"timezone": "Europe/Paris"
},
"disruptions": [],
"pagination": {
"items_on_page": 2,
"items_per_page": 10,
Expand Down
2,111 changes: 1,344 additions & 767 deletions tests/test_data/route_schedules.json

Large diffs are not rendered by default.

47 changes: 1 addition & 46 deletions tests/test_data/stop_schedules.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,4 @@
{"context": {"current_datetime": "20240519T121505", "timezone": "Europe/Paris"},
"disruptions": [],
"exceptions": [],
"links": [{"href": "https://api.navitia.io/v1/coverage/sncf/physical_modes/{physical_modes.id}",
"rel": "physical_modes",
"templated": true,
"type": "physical_modes"},
{"href": "https://api.navitia.io/v1/coverage/sncf/vehicle_journeys/{vehicle_journey.id}",
"rel": "vehicle_journeys",
"templated": true,
"type": "vehicle_journey"},
{"href": "https://api.navitia.io/v1/coverage/sncf/commercial_modes/{commercial_mode.id}",
"rel": "commercial_modes",
"templated": true,
"type": "commercial_mode"},
{"href": "https://api.navitia.io/v1/coverage/sncf/stop_points/{stop_point.id}",
"rel": "stop_points",
"templated": true,
"type": "stop_point"},
{"href": "https://api.navitia.io/v1/coverage/sncf/lines/{line.id}",
"rel": "lines",
"templated": true,
"type": "line"},
{"href": "https://api.navitia.io/v1/coverage/sncf/commercial_modes/{commercial_modes.id}",
"rel": "commercial_modes",
"templated": true,
"type": "commercial_modes"},
{"href": "https://api.navitia.io/v1/coverage/sncf/routes/{route.id}",
"rel": "routes",
"templated": true,
"type": "route"},
{"href": "https://api.navitia.io/v1/coverage/sncf/networks/{network.id}",
"rel": "networks",
"templated": true,
"type": "network"},
{"href": "https://api.navitia.io/v1/coverage/sncf/stop_areas/{stop_area.id}",
"rel": "stop_areas",
"templated": true,
"type": "stop_area"},
{"href": "https://api.navitia.io/v1/coverage/sncf/stop_areas/stop_area:SNCF:87758896/stop_schedules",
"templated": false,
"type": "first"}],
"notes": [{"category": "terminus",
"id": "destination:7461310437779001739",
"type": "notes",
"value": "Mitry - Claye"}],
{
"pagination": {"items_on_page": 1,
"items_per_page": 10,
"start_page": 0,
Expand Down
48 changes: 1 addition & 47 deletions tests/test_data/terminus_schedules.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,4 @@
{"context": {"current_datetime": "20240519T130643", "timezone": "Europe/Paris"},
"disruptions": [],
"exceptions": [],
"links": [{"href": "https://api.navitia.io/v1/coverage/sncf/physical_modes/{physical_modes.id}",
"rel": "physical_modes",
"templated": true,
"type": "physical_modes"},
{"href": "https://api.navitia.io/v1/coverage/sncf/commercial_modes/{commercial_mode.id}",
"rel": "commercial_modes",
"templated": true,
"type": "commercial_mode"},
{"href": "https://api.navitia.io/v1/coverage/sncf/routes/{route.id}",
"rel": "routes",
"templated": true,
"type": "route"},
{"href": "https://api.navitia.io/v1/coverage/sncf/commercial_modes/{commercial_modes.id}",
"rel": "commercial_modes",
"templated": true,
"type": "commercial_modes"},
{"href": "https://api.navitia.io/v1/coverage/sncf/lines/{line.id}",
"rel": "lines",
"templated": true,
"type": "line"},
{"href": "https://api.navitia.io/v1/coverage/sncf/stop_points/{stop_point.id}",
"rel": "stop_points",
"templated": true,
"type": "stop_point"},
{"href": "https://api.navitia.io/v1/coverage/sncf/vehicle_journeys/{vehicle_journey.id}",
"rel": "vehicle_journeys",
"templated": true,
"type": "vehicle_journey"},
{"href": "https://api.navitia.io/v1/coverage/sncf/stop_areas/{stop_area.id}",
"rel": "stop_areas",
"templated": true,
"type": "stop_area"},
{"href": "https://api.navitia.io/v1/coverage/sncf/networks/{network.id}",
"rel": "networks",
"templated": true,
"type": "network"},
{"href": "https://api.navitia.io/v1/coverage/sncf/stop_areas/stop_area:SNCF:87758896/terminus_schedules",
"templated": false,
"type": "first"}],
"notes": [{"category": "terminus",
"id": "destination:7461310437779001739",
"type": "notes",
"value": "Mitry - Claye"}],
"pagination": {"items_on_page": 2,
{"pagination": {"items_on_page": 2,
"items_per_page": 10,
"start_page": 0,
"total_result": 2},
Expand Down
4 changes: 0 additions & 4 deletions tests/test_data/traffic_reports.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"context": {
"current_datetime": "20240519T190317",
"timezone": "Europe/Paris"
},
"disruptions": [
{
"application_periods": [
Expand Down