Edgewall Software

Opened 7 years ago

Closed 7 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:


FAIL: test_attachment_add_nonexistent_resource (trac.admin.tests.console.Tracad
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
  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\
--- 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)

Change History (1)

comment:1 by Ryan J Ollos, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [14445], merged to trunk in [14446].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.