Edgewall Software

Changes between Version 1 and Version 2 of Ticket #12604, comment 1


Ignore:
Timestamp:
Oct 7, 2016, 11:16:04 AM (4 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12604, comment 1

    v1 v2  
    66>>> from trac.ticket.model import Ticket
    77>>> env = EnvironmentStub()
    8 >>> t = Ticket(env, 'id')
     8>>> t = Ticket(env, 'blah')
    99Traceback (most recent call last):
    1010  File "<stdin>", line 1, in <module>
     
    1313  File "trac/ticket/model.py", line 126, in _fetch_ticket
    1414    id=tkt_id), _("Invalid ticket number"))
    15 trac.resource.ResourceNotFound: Ticket id does not exist.
     15trac.resource.ResourceNotFound: Ticket blah does not exist.
    1616}}}