Merge lp:~mikemc/ubuntuone-client/refactor-platform-event-logging into lp:ubuntuone-client
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2012-05-04 |
| Approved revision: | 1239 |
| Merged at revision: | 1241 |
| Proposed branch: | lp:~mikemc/ubuntuone-client/refactor-platform-event-logging |
| Merge into: | lp:ubuntuone-client |
| Prerequisite: | lp:~mikemc/ubuntuone-client/test-platform-init-typo-bugfix |
| Diff against target: |
159 lines (+36/-50) 7 files modified
tests/platform/event_logging/__init__.py (+27/-0) tests/platform/event_logging/test_linux.py (+2/-2) tests/platform/event_logging/test_windows.py (+1/-1) ubuntuone/platform/event_logging/__init__.py (+5/-8) ubuntuone/platform/event_logging/linux.py (+0/-1) ubuntuone/platform/windows/__init__.py (+1/-2) ubuntuone/platform/windows/event_logging.py (+0/-36) |
| To merge this branch: | bzr merge lp:~mikemc/ubuntuone-client/refactor-platform-event-logging |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Manuel de la Peña (community) | 2012-05-03 | Approve on 2012-05-04 | |
| Mike McCracken (community) | Abstain on 2012-05-04 | ||
| Brian Curtin (community) | Approve on 2012-05-04 | ||
| dobey (community) | 2012-05-01 | Approve on 2012-05-03 | |
|
Review via email:
|
|||
Commit Message
- Refactor ubuntuone platform/
Description of the Change
- Refactor ubuntuone platform/
* creates event_logging package in platform/
- Note: it's small to be a package, but this avoids importing 'is_zeitgeist_
* moves platform/
* moves code in platform/
* removes platform/
Tested on linux.
- 1236. By Mike McCracken on 2012-05-02
-
merge with trunk
- 1237. By Mike McCracken on 2012-05-02
-
refactor the test suite into event_logging/
test_<theplatfo rm>.py
| Brian Curtin (brian.curtin) wrote : | # |
- 1238. By Mike McCracken on 2012-05-03
-
remove obsolete import in platform/
windows/ __init_ _.py
| Mike McCracken (mikemc) wrote : | # |
The last push fixes the error and passes the tests on linux and windows
- 1239. By Mike McCracken on 2012-05-04
-
merge with trunk
| Mike McCracken (mikemc) wrote : | # |
After latest merge fixed conflicts, tests pass in Linux and Windows


Tests aren't passing on Windows:
Traceback (most recent call last): bin\python- script. py", line 62, in <module> __file_ _) bin\u1trial" , line 331, in <module> bin\u1trial" , line 311, in main get_suite( config) bin\u1trial" , line 184, in get_suite 'ignore- paths'] )) bin\u1trial" , line 168, in _collect_tests unittest( filepath) bin\u1trial" , line 108, in _load_unittest working\ mmcc\tests\ platform\ __init_ _.py", line 34, in <module> working\ mmcc\tests\ platform\ ipc\test_ windows. py", line 44, in <module> testing. testcase import ( working\ mmcc\contrib\ testing\ testcase. py", line 49, in <module> syncdaemon import ( working\ mmcc\ubuntuone\ syncdaemon\ config. py", line 47, in <module> working\ mmcc\ubuntuone\ platform\ __init_ _.py", line 40, in <module> working\ mmcc\ubuntuone\ platform\ windows\ __init_ _.py", line 74, in <m platform. windows import event_logging
File "C:\u1\
execfile(
File "C:\u1\
main()
File "C:\u1\
suite = trial_runner.
File "C:\u1\
config[
File "C:\u1\
module_suite = self._load_
File "C:\u1\
module = __import__(modpath, None, None, [""])
File "C:\u1\
from tests.platform.ipc import test_windows
File "C:\u1\
from contrib.
File "C:\u1\
from ubuntuone.
File "C:\u1\
from ubuntuone.platform import expand_user
File "C:\u1\
from ubuntuone.platform import windows
File "C:\u1\
odule>
from ubuntuone.
ImportError: cannot import name event_logging