Skip to content

Commit

Permalink
Invoke model system check in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
suriya committed Oct 4, 2015
1 parent 868307f commit e7976df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testapp/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def setUp(self):
self.inactive = Organizer(name='In Active', is_active=False)
self.inactive.save()

def test_model_check(self):
self.assertEqual(Event.check(), [])

def test_organizer(self):
with self.assertRaises(ValidationError) as context:
Event(
Expand Down

0 comments on commit e7976df

Please sign in to comment.