Commits

Christian Boos committed 4a4b157

Fix unit-test so that it copes with different output from MySQL and PostgreSQL db backends (was 1L)

Comments (0)

Files changed (1)

trac/ticket/api.py

 
         >>> from trac.ticket.model import Ticket
         >>> t = Ticket(env)
-        >>> t.insert()
+        >>> int(t.insert())
         1
         >>> resource_exists(env, t.resource)
         True