ContacstDbusService has no tests

Bug #1332093 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Autopilot Tests
In Progress
Critical
Brendan Donegan

Bug Description

The helper merged here:
https://code.launchpad.net/~brendan-donegan/ubuntu-autopilot-tests/contacts_dbus/+merge/223703

It's missing the re import.

More importantly, and the reason why we didn't notice that missing import is that the code is not tested. It must have full coverage before going into the UX branch.

Tags: elopio qa-new

Related branches

Changed in ubuntu-autopilot-tests:
status: Triaged → In Progress
Leo Arias (elopio)
Changed in ubuntu-autopilot-tests:
importance: Undecided → Critical
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Imo this is simple enough that the incidental testing by way of being used in other tests should be enough. I'm not opposed to writing a few tests though - it should be simple enough.

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

If it's simple, then it's simple to add tests :D
This will live in address book, and will be an external dependency on UX. So we need to make sure that address book never breaks this code, and the only way to do it is pinning the behavior with tests.

Revision history for this message
Leo Arias (elopio) wrote : Re: ContacstDbusService doesn't has no tests

Now it works, but still has no tests. Updating the title.

summary: - ContacstDbusService doesn't work and has no tests
+ ContacstDbusService doesn't has no tests
Leo Arias (elopio)
summary: - ContacstDbusService doesn't has no tests
+ ContacstDbusService has no tests
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.