Skip to content

Commit 3ac5bf2

Browse files
committed
edit test to add the title field
1 parent 9c17f7b commit 3ac5bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def get_full_data():
294294

295295
def test_create_point(client):
296296
route = f"/create_point"
297-
get_full_data = lambda: {"x": 1, "y": 2, "z": 3}
297+
get_full_data = lambda: {"title": "test_point", "x": 1, "y": 2, "z": 3}
298298

299299
# Normal test with all keys
300300
response = client.post(route, json=get_full_data())

0 commit comments

Comments
 (0)