Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove unused imports and variables

Roland Geider650676f6ee28
diff --git a/wger/trophies/tests/test_services.py b/wger/trophies/tests/test_services.py
index 038ef06a5..740ec37ef 100644
--- a/wger/trophies/tests/test_services.py
+++ b/wger/trophies/tests/test_services.py
@@ -13,12 +13,10 @@
# You should have received a copy of the GNU Affero General Public License
# Standard Library
-import datetime
from decimal import Decimal
from unittest.mock import patch
# Django
-from django.conf import settings
from django.contrib.auth.models import User
from django.utils import timezone
@@ -201,7 +199,7 @@ class TrophyServiceTestCase(WgerTestCase):
def test_evaluate_all_trophies(self):
"""Test evaluating all trophies for a user"""
# Create multiple trophies
- trophy2 = Trophy.objects.create(
+ Trophy.objects.create(
name='Trophy 2',
trophy_type=Trophy.TYPE_SEQUENCE,
checker_class='streak',