[GDBus] Reopening the session bus
ebassi at gmail.com
Thu Apr 9 05:52:21 PDT 2015
On 9 April 2015 at 13:43, David Zeuthen <zeuthen at gmail.com> wrote:
> On Thu, Apr 9, 2015 at 2:57 AM, Alberto Mardegan
> <alberto.mardegan at canonical.com> wrote:
>> Hi all!
>> I'm writing some tests in python, and I'm setting up a new D-Bus
>> server for the session bus in each setUp() function, and I'm killing it
>> at the end of each test case.
> In case you missed it, there's also GTestDBus which could be helpful when
> writing tests
Except maybe not, since GLib maintainers are not really all too happy
about GTestDBus in the first place:
tl;dr: too many side effects with code that uses singletons and
shared, global state.
[@] ebassi [@gmail.com]
More information about the dbus