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')