Modify ↓
Opened 9 years ago
Closed 9 years ago
#12315 closed defect (fixed)
Test failure on Windows when path contains whitespace
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.10 |
Component: | admin/console | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Fixed test failure on windows when path contained whitespace. |
||
API Changes: | |||
Internal Changes: |
Description
====================================================================== FAIL: test_attachment_add_nonexistent_resource (trac.admin.tests.console.Tracad inTestCase) Tests the 'attachment add' command in trac-admin, on a non-existent ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\Ryan Ollos\fcrypt-test\rjollos\trac\admin\tests\console.py", l ne 282, in test_attachment_add_nonexistent_resource self.assertExpectedResult(output) File "C:\Users\Ryan Ollos\fcrypt-test\rjollos\trac\admin\tests\console.py", l ne 133, in assertExpectedResult self.assertEqual(expected_result, output) File "C:\Users\Ryan Ollos\fcrypt-test\rjollos\trac\admin\tests\console.py", l ne 156, in assertEqual output, diff())) AssertionError: u"ResourceNotFound: NonExistentPage doesn't exist, can't create attachment\n" != u"IOError: [Errno 2] No such file or directory: u'C:\\\\Users\ \\Ryan'\n" --- expected +++ actual @@ -1,2 +1,2 @@ -ResourceNotFound: NonExistentPage doesn't exist, can't create attachment +IOError: [Errno 2] No such file or directory: u'C:\\Users\\Ryan'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Fixed in [14445], merged to trunk in [14446].