Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix representation test for weight units

Roland Geider60671f6d7c56
diff --git a/wger/core/tests/test_weight_unit.py b/wger/core/tests/test_weight_unit.py
index 69aaefedd..e310cea93 100644
--- a/wger/core/tests/test_weight_unit.py
+++ b/wger/core/tests/test_weight_unit.py
@@ -34,7 +34,7 @@ class RepresentationTestCase(WorkoutManagerTestCase):
'''
Test that the representation of an object is correct
'''
- self.assertEqual("{0}".format(WeightUnit.objects.get(pk=1)), 'Repetitions')
+ self.assertEqual("{0}".format(WeightUnit.objects.get(pk=1)), 'kg')
class OverviewTest(WorkoutManagerAccessTestCase):