File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ def test_last_new_image_date(
175175 mock_logger .assert_not_called ()
176176 mock_request .assert_not_called ()
177177 self .assertIsNone (result )
178- self .assertEqual (ingredient .last_image_check , last_checked )
178+ self .assertEqual (ingredient .last_image_check , last_checked )
179179
180180 @patch ('wger.nutrition.sync.download_image' , return_value = MockOffImageResponse , autospec = True )
181181 @patch ('openfoodfacts.api.ProductResource.get' , return_value = mock_off_response , autospec = True )
@@ -265,7 +265,6 @@ def test_update_handle_no_front_url_key(
265265 ingredient .last_image_check , timezone .now (), delta = datetime .timedelta (seconds = 1 )
266266 )
267267
268-
269268 @patch ('wger.nutrition.sync.download_image' , return_value = MockOffImageResponse , autospec = True )
270269 @patch ('openfoodfacts.api.ProductResource.get' , return_value = mock_off_response , autospec = True )
271270 @patch ('wger.nutrition.models.Image.from_json' , autospec = True )
You can’t perform that action at this time.
0 commit comments