'Test equity model'

def test_model_equity(self):

    contact_type = ContactType(name='test')
    contact_type.save()
    contact = Contact(name='test', contact_type=contact_type)
    contact.save()
    obj = Equity(issue_price=10, sell_price=10, issuer=contact, owner=contact)
    obj.save()
    self.assertNotEquals(obj.id, None)
    obj.delete()
