Self hosted FLOSS fitness/workout, nutrition and weight tracker
Update weight CSV import tests
Roland Geiderca01fddedbc0
diff --git a/wger/weight/tests/test_csv_import.py b/wger/weight/tests/test_csv_import.pyindex be335f3b7..db84d3cb8 100644--- a/wger/weight/tests/test_csv_import.py+++ b/wger/weight/tests/test_csv_import.py@@ -45,6 +45,7 @@ class WeightCsvImportTestCase(WorkoutManagerTestCase):11.02.10 70,4 22219.02.10 71 22226.02.10 71,9 222+26.02.10 71,9 22219.03.10 72 222'''response = self.client.post(reverse('weight:import-csv'),{'stage': 1,@@ -53,7 +54,7 @@ class WeightCsvImportTestCase(WorkoutManagerTestCase):self.assertEqual(response.status_code, 200)self.assertEqual(len(response.context['weight_list']), 6)- self.assertEqual(len(response.context['error_list']), 3)+ self.assertEqual(len(response.context['error_list']), 4)hash_value = response.context['hash_value']# 2nd. step