summaryrefslogtreecommitdiff
path: root/tests/gsdtestcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gsdtestcase.py')
-rw-r--r--tests/gsdtestcase.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index d4b0c1bf..bdbe0874 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -90,6 +90,8 @@ class GSDTestCase(X11SessionTestCase):
klass.system_bus_con = klass.get_dbus(True)
klass.session_bus_con = klass.get_dbus(False)
+ klass.addClassCleanup(klass.system_bus_con.close)
+ klass.addClassCleanup(klass.session_bus_con.close)
# we never want to cause notifications on the actual GUI
klass.p_notify = klass.spawn_server_template(