Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add unknown entries for images and videos in the test deletion log

Roland Geiderd8967dc7bfea
diff --git a/wger/exercises/tests/test_sync.py b/wger/exercises/tests/test_sync.py
index 2578cb491..cfc2b62db 100644
--- a/wger/exercises/tests/test_sync.py
+++ b/wger/exercises/tests/test_sync.py
@@ -211,6 +211,12 @@ class MockDeletionLogResponse:
"timestamp": "2023-01-30T19:32:56.761426+01:00",
"comment": "Exercise base with ID 1"
},
+ {
+ "model_type": "base",
+ "uuid": "577ee012-70c6-4517-b0fe-dcf340926ae7",
+ "timestamp": "2023-01-30T19:32:56.761426+01:00",
+ "comment": "Unknown Exercise base"
+ },
{
"model_type": "translation",
"uuid": "0ef4cec8-d9c9-464f-baf9-3dbdf20083cb",
@@ -223,6 +229,18 @@ class MockDeletionLogResponse:
"timestamp": "2023-01-30T19:32:56.765350+01:00",
"comment": "Translation with ID 3"
},
+ {
+ "model_type": "image",
+ "uuid": "c72b4463-48ae-4c7d-8093-2c347c38e05a",
+ "timestamp": "2023-01-30T19:32:56.765350+01:00",
+ "comment": "Unknown image"
+ },
+ {
+ "model_type": "video",
+ "uuid": "e0d25624-348b-4a23-adcd-17190f96f005",
+ "timestamp": "2023-01-30T19:32:56.765350+01:00",
+ "comment": "Unknown video"
+ },
{
"model_type": "foobar",
"uuid": "37b5813c76bd4658820a572d9dd93f31",