Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use TestCase for the login-view test
Roland Geider6a12c12b1b5b
diff --git a/wger/core/tests/test_auth_social.py b/wger/core/tests/test_auth_social.pyindex a79b711e4..911737a3d 100644--- a/wger/core/tests/test_auth_social.py+++ b/wger/core/tests/test_auth_social.py@@ -19,7 +19,7 @@ from unittest import mock# Djangofrom django.test import (RequestFactory,- SimpleTestCase,+ TestCase,override_settings,)from django.urls import reverse@@ -73,7 +73,7 @@ class SocialAuthEnabledLoginPageTestCase(WgerTestCase):self.assertNotContains(response, 'or login with')-class WgerLoginViewContextTestCase(SimpleTestCase):+class WgerLoginViewContextTestCase(TestCase):"""Unit tests for ``WgerLoginView.get_context_data``."""def _build_view(self):