🐛 Fix stub script content
continuous-integration/drone/push Build is passing Details

master
Alix JEUDI--LEMOINE 3 months ago
parent 5d54490fb0
commit 2bf2e48567

@ -26,32 +26,28 @@ def populate_data():
"description": "Description A", "description": "Description A",
"location": [48.858296, 2.294526], "location": [48.858296, 2.294526],
"files": ["file_a"], "files": ["file_a"],
"owner": str(user1_id), "user_id": str(user1_id)
"created_at": datetime.utcnow()
}, },
{ {
"title": f"Mont St Michel", "title": f"Mont St Michel",
"description": "Description B", "description": "Description B",
"location": [48.636111, -1.511389], "location": [48.636111, -1.511389],
"files": ["file_b"], "files": ["file_b"],
"owner": str(user1_id), "user_id": str(user1_id)
"created_at": datetime.utcnow()
}, },
{ {
"title": f"Eiffel Tower", "title": f"Eiffel Tower",
"description": "Description X", "description": "Description X",
"location": [48.858296, 2.294526], "location": [48.858296, 2.294526],
"files": ["file_x"], "files": ["file_x"],
"owner": str(user2_id), "user_id": str(user2_id)
"created_at": datetime.utcnow()
}, },
{ {
"title": f"Mont Saint Michel", "title": f"Mont Saint Michel",
"description": "Description Y", "description": "Description Y",
"location": [48.636111, -1.511389], "location": [48.636111, -1.511389],
"files": ["file_y"], "files": ["file_y"],
"owner": str(user2_id), "user_id": str(user2_id)
"created_at": datetime.utcnow()
} }
]) ])

Loading…
Cancel
Save