Saturday 8 March 2014

Re: Launchpad buildds and capabilities

Hi,

On Sat, 08 Mar 2014 07:27:22 -0800, Rodney Dawes wrote:
> Building under sbuild should give you the same errors.
>
> You probably shouldn't run gnome-keyring-daemon as part of the test
> suite, but instead use the "mock" module's API to mock out any
> interaction with the daemon itself, in the tests. Or python-dbusmock to
> do more specific mocking of DBus interactions.

That was my initial plan as well, but the Secret Service protocol is very
difficult to mock. That would, for example, involve writing key exchange and
encryption code, which is not worth the effort to do for just running tests.

--
Dmitry Shachnev