def test_create_ticket_no_expires(self):
        """
        A ticket ought to be created with a calculated expiry value.
        """
        st = ServiceTicket.objects.create_ticket(user=self.user)
        self.assertTrue(st.expires > now())
dataset/ETHPy150Open jbittel/django-mama-cas/mama_cas/tests/test_models.py/TicketManagerTests.test_create_ticket_no_expires/original