Self hosted FLOSS fitness/workout, nutrition and weight tracker
Formatting
Roland Geider17e5cd565381
diff --git a/wger/exercises/tests/test_alias.py b/wger/exercises/tests/test_alias.pyindex 7ef55f890..ed5c1d778 100644--- a/wger/exercises/tests/test_alias.py+++ b/wger/exercises/tests/test_alias.py@@ -12,42 +12,8 @@## You should have received a copy of the GNU Affero General Public License-# Standard Library-import json--# Django-from django.core import mail-from django.core.cache import cache-from django.core.cache.utils import make_template_fragment_key-from django.template import (- Context,- Template,-)-from django.urls import reverse--# Third Party-from rest_framework import status-# wger-from wger.core.tests import api_base_test-from wger.core.tests.api_base_test import (- ApiBaseTestCase,- ExerciseCrudApiTestCase,-)-from wger.core.tests.base_testcase import (- STATUS_CODES_FAIL,- WgerDeleteTestCase,- WgerTestCase,-)-from wger.exercises.models import (- Alias,- Exercise,- ExerciseCategory,- Muscle,-)-from wger.utils.cache import cache_mapper-from wger.utils.constants import WORKOUT_TAB-from wger.utils.helpers import random_string+from wger.core.tests.api_base_test import ExerciseCrudApiTestCaseclass AliasCustomApiTestCase(ExerciseCrudApiTestCase):diff --git a/wger/exercises/tests/test_categories.py b/wger/exercises/tests/test_categories.pyindex ab040c37c..f3f515307 100644--- a/wger/exercises/tests/test_categories.py+++ b/wger/exercises/tests/test_categories.py@@ -12,11 +12,6 @@## You should have received a copy of the GNU Affero General Public License-# Django-from django.core.cache import cache-from django.core.cache.utils import make_template_fragment_key-from django.urls import reverse-# wgerfrom wger.core.tests import api_base_testfrom wger.core.tests.base_testcase import (diff --git a/wger/exercises/tests/test_equipment.py b/wger/exercises/tests/test_equipment.pyindex daa993152..ad3f09c13 100644--- a/wger/exercises/tests/test_equipment.py+++ b/wger/exercises/tests/test_equipment.py@@ -14,8 +14,6 @@# along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.# Django-from django.core.cache import cache-from django.core.cache.utils import make_template_fragment_keyfrom django.urls import reverse# wger@@ -26,10 +24,7 @@ from wger.core.tests.base_testcase import (WgerEditTestCase,WgerTestCase,)-from wger.exercises.models import (- Equipment,- Exercise,-)+from wger.exercises.models import Equipmentfrom wger.utils.constants import PAGINATION_OBJECTS_PER_PAGE@@ -82,7 +77,6 @@ class EquipmentListTestCase(WgerTestCase):"""def test_overview(self):-# Add more equipments so we can test the paginationself.user_login('admin')data = {"name": "A new entry"}diff --git a/wger/exercises/tests/test_exercise_translation.py b/wger/exercises/tests/test_exercise_translation.pyindex 61c4ee9da..26f5e197c 100644--- a/wger/exercises/tests/test_exercise_translation.py+++ b/wger/exercises/tests/test_exercise_translation.py@@ -17,7 +17,6 @@ import json# Djangofrom django.core.cache import cache-from django.core.cache.utils import make_template_fragment_keyfrom django.template import (Context,Template,@@ -39,10 +38,7 @@ from wger.exercises.models import (Muscle,)from wger.utils.cache import cache_mapper-from wger.utils.constants import (- DEFAULT_LICENSE_ID,- WORKOUT_TAB,-)+from wger.utils.constants import DEFAULT_LICENSE_IDclass ExerciseRepresentationTestCase(WgerTestCase):diff --git a/wger/exercises/tests/test_muscles.py b/wger/exercises/tests/test_muscles.pyindex d9b4db9de..14f7ab4b0 100644--- a/wger/exercises/tests/test_muscles.py+++ b/wger/exercises/tests/test_muscles.py@@ -12,11 +12,6 @@## You should have received a copy of the GNU Affero General Public License-# Django-from django.core.cache import cache-from django.core.cache.utils import make_template_fragment_key-from django.urls import reverse-# wgerfrom wger.core.tests import api_base_testfrom wger.core.tests.base_testcase import (