test_share_links_search has unix-specific paths
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Control Panel |
New
|
Undecided
|
Roberto Alsina |
Bug Description
test_filter and test_process_
We need to fix the test, and verify that the code is doing the right thing - ie, is it OK to return strings with ~ on windows here?
[FAIL]
Traceback (most recent call last):
File "C:\Users\
self.
File "c:\users\
% (msg, pformat(first), pformat(second)))
twisted.
a = ['~/blabla/iop']
b = ['~\\blabla\\iop']
=======
[FAIL]
Traceback (most recent call last):
File "C:\Users\
self.
File "c:\users\
% (msg, pformat(first), pformat(second)))
twisted.
a = ['other_
'~\\blabla\\iop',
'~\\one\\file3',
'~\\test\\asd',
'~\\ubuntu\
'~\\ubuntu\
b = ['other_
'~/blabla/iop',
'~/one/file3',
'~/test/asd',
'~/ubuntu/file1',
'~/ubuntu/file2']
description: | updated |
here's another one:
ubuntuone. controlpanel. gui.qt. tests.test_ share_links_ search. SearchBoxTestCa se.test_ process_ volumes_ info ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == mmccrack\ Canonical\ improve- buildout\ scripts\ devsetup\ parts\ubuntuone -control- panel\ubuntuone \controlpanel\ gui\qt\ tests\test_ share_links_ search. py", line 202, in test_set_ selected_ item assertEqual( self._called, ((u'other_ path/test/ qwe',), {})) mmccrack\ canonical\ improve- buildout\ scripts\ devsetup\ eggs\twisted- 11.1.0- py2.7-win32. egg\twisted\ trial\unittest. py", line 270, in assertEqual trial.unittest. FailTest: not equal: QtCore. QString( u'other_ path\\test\ \qwe'), ), {}) path/test/ qwe',), {})
=======
[FAIL]
Traceback (most recent call last):
File "C:\Users\
self.
File "c:\users\
% (msg, pformat(first), pformat(second)))
twisted.
a = ((PyQt4.
b = ((u'other_