Skip to content

Commit

Permalink
fix(tests): fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Apr 11, 2024
1 parent 1e047aa commit 0195926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_notify_image_flag_public(mocker, monkeypatch):
"user_id": "roboto-app",
"source": "robotoff",
"confidence": None,
"image_id": 2,
"image_id": "2",
"flavor": "off",
"comment": '{"text": "bad_word", "type": "SENSITIVE", "label": "flagged"}',
},
Expand Down Expand Up @@ -171,7 +171,7 @@ def test_notify_image_flag_private(mocker, monkeypatch):
"url": "https://images.openfoodfacts.net/images/products/source_image/2.jpg",
"user_id": "roboto-app",
"source": "robotoff",
"image_id": 2,
"image_id": "2",
"flavor": "off",
"comment": '{"type": "label_annotation", "label": "face", "likelihood": 0.8}',
"confidence": 0.8,
Expand Down

0 comments on commit 0195926

Please sign in to comment.