Re: [GDBus] Reopening the session bus
Emmanuele Bassi <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CALnHYQFqusLuYQkW_SZ=ERT3vZyDh-f=3LTN+tP_x4jXQB6ksA@mail.gmail.com> |
Hi; On 9 April 2015 at 13:43, David Zeuthen <[email protected]> wrote: > Hi, > > On Thu, Apr 9, 2015 at 2:57 AM, Alberto Mardegan > <[email protected]> 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 > > https://developer.gnome.org/gio/unstable/GTestDBus.html Except maybe not, since GLib maintainers are not really all too happy about GTestDBus in the first place: https://bugzilla.gnome.org/show_bug.cgi?id=712148#c44 tl;dr: too many side effects with code that uses singletons and shared, global state. Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] _______________________________________________ dbus mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dbus