Modify ↓
Opened 12 years ago
Closed 11 years ago
#11603 closed defect (fixed)
Error running tests in trac.ticket.tests.model
| 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: |
Fixed test execution failure when tests in |
||
| 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
Attachments (0)
Change History (1)
comment:1 by , 11 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Fix committed to 1.0-stable in [12793], merged to trunk in [12794:12795].