Skip to content

Commit

Permalink
[KOAL-6] Adding a second test to expand coverage on models
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-code committed Dec 12, 2015
1 parent 4ab3cd4 commit f33731f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crm_core/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ def tearDown(self):
def test_get_customer(self):
customer = Customer.objects.get(pk=1)
self.assertEqual(customer.firstname, 'Honesto')

def test_get_absolute_url(self):
customer = Customer.objects.get(pk=1)
self.assertEqual(customer.get_absolute_url, 1)

0 comments on commit f33731f

Please sign in to comment.