Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actionsb54d6d68291f
diff --git a/wger/nutrition/tests/test_tasks.py b/wger/nutrition/tests/test_tasks.pyindex 7534cebf6..52cae2b9b 100644--- a/wger/nutrition/tests/test_tasks.py+++ b/wger/nutrition/tests/test_tasks.py@@ -175,7 +175,7 @@ class FetchIngredientImageTestCase(WgerTestCase):mock_logger.assert_not_called()mock_request.assert_not_called()self.assertIsNone(result)- self.assertEqual(ingredient.last_image_check , last_checked)+ self.assertEqual(ingredient.last_image_check, last_checked)@patch('wger.nutrition.sync.download_image', return_value=MockOffImageResponse, autospec=True)@patch('openfoodfacts.api.ProductResource.get', return_value=mock_off_response, autospec=True)@@ -265,7 +265,6 @@ class FetchIngredientImageTestCase(WgerTestCase):ingredient.last_image_check, timezone.now(), delta=datetime.timedelta(seconds=1))-@patch('wger.nutrition.sync.download_image', return_value=MockOffImageResponse, autospec=True)@patch('openfoodfacts.api.ProductResource.get', return_value=mock_off_response, autospec=True)@patch('wger.nutrition.models.Image.from_json', autospec=True)