Merge lp:~mandel/ubuntuone-client/fix-file-shelf-windows into lp:ubuntuone-client
Proposed by
Manuel de la Peña
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | 1129 |
Merged at revision: | 1094 |
Proposed branch: | lp:~mandel/ubuntuone-client/fix-file-shelf-windows |
Merge into: | lp:ubuntuone-client |
Prerequisite: | lp:~mandel/ubuntuone-client/fix-aq-tests-windows |
Diff against target: |
129 lines (+18/-19) 3 files modified
tests/syncdaemon/test_fileshelf.py (+5/-2) tests/syncdaemon/test_vm.py (+5/-9) ubuntuone/syncdaemon/file_shelf.py (+8/-8) |
To merge this branch: | bzr merge lp:~mandel/ubuntuone-client/fix-file-shelf-windows |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Review via email: mp+70021@code.launchpad.net |
Commit message
Ensure that file_shelf tests do pass on windows and that the module uses the os_helper methods.
Description of the change
Ensure that file_shelf tests do pass on windows and that the module uses the os_helper methods.
To post a comment you must log in.
This change:
25 - key = fd.name. strip(' .new') split(fd. name.strip( '.new') )[1]
26 + key = os.path.
does not seem appropriate to me, you're hiding the fact that in windows, somehow, fd.name is a full path and in linux is not.
Like we talked about in IRC, we should just skip the test suite for file_shelf in windows since that code will not be used there.