Skip to content

Commit

Permalink
remove additional tests for troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
frennkie committed Sep 22, 2020
1 parent 94c93ea commit 2c02562
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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')

0 comments on commit 2c02562

Please sign in to comment.