Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyportaltest: Only create one session bus per DBusTestCase subclass
DBusTestCase.start_session_bus() is a class method, and can only be called once per class, because DBusTestCase.tearDownClass() will only clean up one session bus. In older versions of dbusmock, calling it more than once will result in dbus-daemon processes being leaked; since 0.30.0, calling it more than once will result in an assertion failure. Resolves: flatpak#136 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058245 Signed-off-by: Simon McVittie <smcv@debian.org>
- Loading branch information