Permalink
Browse files

Remove tests that do not test anything

All this one test tests is that the model API works
which isn't specific to this app. Better to remove
this for now and add proper tests later that actually
test/validate something in this app.
  • Loading branch information...
1 parent aa784ee commit efba2ea49ef97f2538aeed0ee6976f838ffa35da @paltman paltman committed Jan 14, 2013
Showing with 0 additions and 22 deletions.
  1. +0 −1 notification/tests/__init__.py
  2. +0 −21 notification/tests/test_models.py
@@ -1 +0,0 @@
-from notification.tests.test_models import *
@@ -1,21 +0,0 @@
-from django.core.cache import cache
-from django.contrib.auth.models import User
-from django.test import TestCase
-
-from notification.models import NoticeType, NoticeSetting
-
-class BaseTest(TestCase):
-
- def setUp(self):
-
- self.user = User.objects.create_user('testuser','test@example.com','pw')
- self.user.save()
-
-
-class TestNoticeType(BaseTest):
-
- def test_create(self):
-
- self.assertEquals(NoticeType.objects.count(), 0)
- NoticeType.create("notice_type", "New notice type", "You have a new notice type")
- self.assertEquals(NoticeType.objects.count(), 1)

0 comments on commit efba2ea

Please sign in to comment.