From 2c02562a9840476d2bcad69ec6d8114a7e92f9a1 Mon Sep 17 00:00:00 2001 From: Robert Habermann Date: Tue, 22 Sep 2020 19:57:40 +0200 Subject: [PATCH] remove additional tests for troubleshooting --- tests/test_models.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_models.py b/tests/test_models.py index e0682145..d642e69d 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -3,9 +3,9 @@ from newsletter.models import Newsletter -class CustomNewsletter(Newsletter): - class Meta: - app_label = 'name_of_my_app' +# class CustomNewsletter(Newsletter): +# class Meta: +# app_label = 'name_of_my_app' class ModelTestCase(TestCase): @@ -20,6 +20,6 @@ def test_newsletter_label_name(self): self.assertEqual(obj._meta.app_label, 'newsletter') self.assertEqual(obj._meta.model_name, 'newsletter') - custom_obj = CustomNewsletter() - self.assertEqual(custom_obj._meta.app_label, 'name_of_my_app') - self.assertEqual(custom_obj._meta.model_name, 'customnewsletter') + # custom_obj = CustomNewsletter() + # self.assertEqual(custom_obj._meta.app_label, 'name_of_my_app') + # self.assertEqual(custom_obj._meta.model_name, 'customnewsletter')