Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix test

Roland Geider8b444bab673b
diff --git a/wger/nutrition/tests/test_ingredient.py b/wger/nutrition/tests/test_ingredient.py
index 51afabd4d..a78adc703 100644
--- a/wger/nutrition/tests/test_ingredient.py
+++ b/wger/nutrition/tests/test_ingredient.py
@@ -484,10 +484,7 @@ class IngredientModelTestCase(WgerTestCase):
},
}
- self.off_response_no_results = {
- 'status': OFF_SEARCH_PRODUCT_NOT_FOUND,
- 'status_verbose': 'product not found',
- }
+ self.off_response_no_results = None
@patch('openfoodfacts.api.ProductResource.get')
def test_fetch_from_off_success(self, mock_api):