Merge lp://qastaging/~brendan-donegan/ubuntu-autopilot-tests/contacts_dbus_test into lp://qastaging/ubuntu-autopilot-tests/ubuntu-experience-tests

Proposed by Brendan Donegan
Status: Superseded
Proposed branch: lp://qastaging/~brendan-donegan/ubuntu-autopilot-tests/contacts_dbus_test
Merge into: lp://qastaging/ubuntu-autopilot-tests/ubuntu-experience-tests
Diff against target: 191 lines (+125/-16)
3 files modified
debian/control (+2/-0)
tests/test_helpers.py (+111/-0)
ubuntu_experience_tests/helpers.py (+12/-16)
To merge this branch: bzr merge lp://qastaging/~brendan-donegan/ubuntu-autopilot-tests/contacts_dbus_test
Reviewer Review Type Date Requested Status
Leo Arias (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+224321@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2014-07-04.

Commit message

Unit tests for ContactsDbusService

Description of the change

Add some unit tests for ContactsDBusService. Also simplify get_vcard_uid and allow it to handle all newlines, not just CRLF newlines.

To post a comment you must log in.
Revision history for this message
Leo Arias (elopio) :
review: Needs Fixing (code review)
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

see my comments, i'll update the rest later

Revision history for this message
Leo Arias (elopio) :
28. By Brendan Donegan

flake8 fixes

29. By Brendan Donegan

Use addCleanup instead of tearDown

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

So how about getting this merged and then we can move it to address-book-app ;)

Revision history for this message
Leo Arias (elopio) :
review: Needs Fixing
30. By Brendan Donegan

Pass callables in addCleanup

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

That's correct - whoops

Revision history for this message
Leo Arias (elopio) wrote :

One more detail, the new deps on debian/control are missing the commas to separate them.

Please run bzr bd to make sure that the package still builds.
Francis has this half automated to get jenkins running it for us.

review: Needs Fixing
Revision history for this message
Leo Arias (elopio) :
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
31. By Brendan Donegan

Fix control file and flake8 error in helpers.py

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Ran bzr bd and built succesfully

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Leo Arias (elopio) wrote :

There seems to be a problem with the packaging. I'll take a look.
Your code looks good, thanks.
Please move it to address book app or address book service as soon as possible.

review: Approve
32. By Brendan Donegan

Run unit tests during builds and update test code to run under python3. Also revert the addCleanup change as it's not working

33. By Brendan Donegan

Use nose to run the tests instead

34. By Brendan Donegan

Merged from trunk

Unmerged revisions

34. By Brendan Donegan

Merged from trunk

33. By Brendan Donegan

Use nose to run the tests instead

32. By Brendan Donegan

Run unit tests during builds and update test code to run under python3. Also revert the addCleanup change as it's not working

31. By Brendan Donegan

Fix control file and flake8 error in helpers.py

30. By Brendan Donegan

Pass callables in addCleanup

29. By Brendan Donegan

Use addCleanup instead of tearDown

28. By Brendan Donegan

flake8 fixes

27. By Brendan Donegan

Add python3-dbus and python3-dbusmock to Build-Deps

26. By Brendan Donegan

Found a better home for the unit tests

25. By Brendan Donegan

Add unit tests for ContactsDbusService

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches