Self hosted FLOSS fitness/workout, nutrition and weight tracker
Update test for commit c687301
James Simasb00efde5c8f6
diff --git a/wger/exercises/tests/test_exercise.py b/wger/exercises/tests/test_exercise.pyindex 94c8de54b..5b3d025b7 100644--- a/wger/exercises/tests/test_exercise.py+++ b/wger/exercises/tests/test_exercise.py@@ -13,6 +13,7 @@# You should have received a copy of the GNU Affero General Public Licenseimport json+import socketfrom django.core import mailfrom django.core.urlresolvers import reverse@@ -290,7 +291,7 @@ class ExercisesTestCase(WorkoutManagerTestCase):# Exercise was savedexercise = Exercise.objects.get(pk=exercise_id)if admin:- self.assertEqual(exercise.license_author, 'wger.de')+ self.assertEqual(exercise.license_author, socket.gethostname().lower())self.assertEqual(exercise.status, Exercise.STATUS_ACCEPTED)else:self.assertEqual(exercise.license_author, 'test')