Skip to content

Commit b54d6d6

Browse files
author
Github-actions
committed
Automatic linting
1 parent ecb3bcd commit b54d6d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

wger/nutrition/tests/test_tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)