From 682ef05110720e3634d4c4a046d31e98dda850f9 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 2 Nov 2020 16:19:39 +0100 Subject: [PATCH] Rename a test --- apps/registration/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/registration/tests.py b/apps/registration/tests.py index c25a09b..d239349 100644 --- a/apps/registration/tests.py +++ b/apps/registration/tests.py @@ -318,7 +318,7 @@ class TestRegistration(TestCase): self.assertEqual(response.status_code, 200) self.assertTrue(response.context["object_list"]) - def test_string_render(self): - # TODO These string field tests will be removed when used in a template + def test_not_implemented_error(self): + # Only for coverage self.assertRaises(NotImplementedError, lambda: Registration().type) self.assertRaises(NotImplementedError, lambda: Registration().form_class)