diff options
author | Benjamin Berg <bberg@redhat.com> | 2021-07-20 13:30:54 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2021-07-22 14:23:50 +0200 |
commit | eabff3da549c393067fc9a505f7ce10762a4e305 (patch) | |
tree | 8cc7d84f278a3f099449bc1268144669ca8a1fd4 /tests | |
parent | 148b682883bd2c484f9c60fd32d2c5589b7e14e5 (diff) | |
download | gnome-settings-daemon-eabff3da549c393067fc9a505f7ce10762a4e305.tar.gz |
tests: Close session/system bus dbus connections
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gsdtestcase.py | 2 |
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( |