Modify ↓
#12475 closed defect (fixed)
Test failure in trac.ticket.tests.functional.RegressionTestTicket4447
| Reported by: | Ryan J Ollos | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.8 |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | tests |
| Cc: | Branch: | ||
| Release Notes: |
Fixed sporadic test failure in |
||
| API Changes: | |||
| Internal Changes: | |||
Description
Probably due to the regex matching random word generation.
======================================================================
FAIL: runTest (trac.ticket.tests.functional.RegressionTestTicket4447)
Test for regression of http://trac.edgewall.org/ticket/4447
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/edgewall/trac/trac/ticket/tests/functional.py", line 1640, in runTest
tc.notfind('set to')
File "/home/travis/build/edgewall/trac/trac/tests/functional/better_twill.py", line 238, in better_notfind
(to_unicode(e), filename))
TwillAssertionError: match to 'set to' at file:///home/travis/build/edgewall/trac/testenv/trac/log/RegressionTestTicket4447.html
----------------------------------------------------------------------
Ran 176 tests in 192.463s
FAILED (failures=1)
make: *** [functional-test] Error 1
Attachments (0)
Change History (7)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
| Owner: | set to |
|---|---|
| Release Notes: | modified (diff) |
| Status: | new → assigned |
Looks good. I'll commit the change.
comment:3 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:4 by , 10 years ago
| Owner: | changed from to |
|---|
comment:5 by , 9 years ago
| Milestone: | 1.0.12 → 0.12.8 |
|---|---|
| Release Notes: | modified (diff) |
Backported to 0.12-stable in [14795], to address a test failure.
comment:6 by , 9 years ago
I think we should additionally remove tc.notfind('deleted') and tc.notfind('set to') at branches/0.12-stable/trac/ticket/tests/functional.py@14795:962-963#L948 in [14795]….
Note:
See TracTickets
for help on using tickets.



It seems that
tc.notfind('set to')confirms not using line 102 in ticket_change.html. Then, we could modify the tests like [12155]:trac/ticket/tests/functional.py