Merge lp:~mandel/ubuntuone-client/sdtool_start_method into lp:ubuntuone-client
Proposed by
Manuel de la Peña
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | 1066 |
Merged at revision: | 1033 |
Proposed branch: | lp:~mandel/ubuntuone-client/sdtool_start_method |
Merge into: | lp:ubuntuone-client |
Diff against target: |
473 lines (+91/-3) 2 files modified
tests/platform/windows/test_tools.py (+81/-2) ubuntuone/platform/windows/tools.py (+10/-1) |
To merge this branch: | bzr merge lp:~mandel/ubuntuone-client/sdtool_start_method |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Roberto Alsina (community) | Approve | ||
Review via email: mp+66448@code.launchpad.net |
Commit message
Allows to start the syncdaemon by providing a start method to sdtool.
Description of the change
Allows to start the syncdaemon by providing a start method to sdtool. To tests please runthe following:
python C:\Python27\
In the method is correctly implemented you will see notepad being executed and close during the tests.
To post a comment you must log in.
I'm getting this error:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == lib\site- packages\ twisted- 11.0.0- py2.7-win32. egg\twisted\ int Test\src\ review\ tests\platform\ windows\ test_tools. py", line 111 mocker. verify( ) bdist.win32\ egg\mocker. py", line 645, in verify
[ERROR]
Traceback (most recent call last):
File "C:\Python27\
ernet\defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "C:\Users\
3, in test_execution
self.
File "build\
exceptions. AssertionError: [Mocker] Unmet expectations:
=> _winreg. OpenKey( ANY, 'Software\\\\Ubuntu One')
- Performed fewer times than expected.
=> _winreg. QueryValueEx( None, 'SyncDaemonInst allPath' )
- Performed fewer times than expected.
tests.platform. windows. test_tools. TestSyncDaemonT ool.test_ start ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
Ran 51 tests in 2.265s
FAILED (errors=1, successes=50)