Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove code, was commited by mistake

Roland Geider578ee517452f
diff --git a/wger/core/tests/base_testcase.py b/wger/core/tests/base_testcase.py
index f16e7e61b..6eba016dd 100644
--- a/wger/core/tests/base_testcase.py
+++ b/wger/core/tests/base_testcase.py
@@ -247,12 +247,6 @@ class WgerDeleteTestCase(WgerTestCase):
count_after = self.object_class.objects.count()
self.assertEqual(count_before, count_after)
- # Checks that the forms have the correct CSS class
- # This makes sure they can be used with the current modal dialog logic.
- # Hopefully we will refactor that in the future and then this check can
- # be removed
- self.assertInHTML("wger-form", response)
-
if fail:
self.assertIn(response.status_code, STATUS_CODES_FAIL)
else:
@@ -280,13 +274,6 @@ class WgerDeleteTestCase(WgerTestCase):
# self.assertEqual(response.status_code, 200)
self.post_test_hook()
- def test_form_css_class(self):
- """
-
- """
- self.delete_object(fail=True)
-
-
def test_delete_object_anonymous(self):
"""
Tests deleting the object as an anonymous user