Merge lp:~diegosarmentero/ubuntuone-client/fix-dummy into lp:ubuntuone-client
Proposed by
Diego Sarmentero
on 2012-09-21
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2012-09-21 |
| Approved revision: | 1324 |
| Merged at revision: | 1320 |
| Proposed branch: | lp:~diegosarmentero/ubuntuone-client/fix-dummy |
| Merge into: | lp:ubuntuone-client |
| Diff against target: |
48 lines (+20/-0) 2 files modified
tests/platform/sync_menu/test_linux.py (+16/-0) ubuntuone/platform/sync_menu/linux.py (+4/-0) |
| To merge this branch: | bzr merge lp:~diegosarmentero/ubuntuone-client/fix-dummy |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| dobey (community) | Approve on 2012-09-21 | ||
| Natalia Bidart | 2012-09-21 | Approve on 2012-09-21 | |
|
Review via email:
|
|||
Commit Message
- Fixed dummy init (LP: #1053775).
To post a comment you must log in.
lp:~diegosarmentero/ubuntuone-client/fix-dummy
updated
on 2012-09-21
- 1321. By Diego Sarmentero on 2012-09-21
-
fixing test case
| dobey (dobey) wrote : | # |
Please chain the __init__ with super here properly so that object.__init__() is called, as well as on the UbuntuOneSyncMe
Also, please use assertNotRaises() to test instantiation of the object is working. To test that start_timer works properly, please add a second test to this test case which creates a dummy object, and then check that the start_timer attribute has a "__call__" attribute itself.
review:
Needs Fixing
lp:~diegosarmentero/ubuntuone-client/fix-dummy
updated
on 2012-09-21
- 1322. By Diego Sarmentero on 2012-09-21
-
docstring updated
- 1323. By Diego Sarmentero on 2012-09-21
-
checking that dummy has start_timer and it is callable
- 1324. By Diego Sarmentero on 2012-09-21
-
using assertIsInstance


Looks great! Thanks