Edgewall Software

Opened 10 years ago

Last modified 10 years ago

#11603 closed defect

Error running tests in trac.ticket.tests.model — at Initial Version

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.2
Component: ticket system Version:
Severity: normal Keywords: unit tests
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

$ make test=trac/ticket/tests/model.py 
..........................................................E..........
======================================================================
ERROR: test_rename_milestone (__main__.MilestoneTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "trac/ticket/tests/model.py", line 1025, in test_rename_milestone
    attachment.insert('foo.txt', StringIO(), 0, 1)
  File "/home/user/Workspace/t11284/teo-rjollos.git/trac/attachment.py", line 311, in insert
    parent=get_resource_name(self.env, parent_resource)))
ResourceNotFound: milestone:OldName doesn't exist, can't create attachment

----------------------------------------------------------------------
Ran 69 tests in 0.916s

FAILED (errors=1)
make: *** [all] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.