After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748890 - Add test case for bug 748849
Add test case for bug 748849
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: power
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2015-05-04 13:36 UTC by Rui Matos
Modified: 2019-03-20 11:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rui Matos 2015-05-04 13:36:22 UTC
We should add a test case for bug 748849 .

test.py is currently failing with



    Traceback (most recent call last):
  • File "/home/rmatos/Source/git.gnome.org/gnome-settings-daemon/tests/gsdtestcase.py", line 81 in setUpClass
    'notification_daemon', {}, stdout=subprocess.PIPE)[0]
  • File "/usr/lib/python2.7/site-packages/dbusmock/testcase.py", line 244 in spawn_server_template
    interface_name, module.SYSTEM_BUS, stdout)
  • File "/usr/lib/python2.7/site-packages/dbusmock/testcase.py", line 209 in spawn_server
    klass.wait_for_bus_object(name, path, system_bus)
  • File "/usr/lib/python2.7/site-packages/dbusmock/testcase.py", line 184 in wait_for_bus_object
    assert timeout > 0, 'timed out waiting for D-BUS object %s: %s' % (path, last_exc)     AssertionError: timed out waiting for D-BUS object /org/freedesktop/Notifications: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  • File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 826 in _message_cb
    retval = candidate_method(self, *args, **keywords)
  • File "/usr/lib/python2.7/site-packages/dbusmock/mockobject.py", line 625 in Introspect
    orig_interfaces = self._dbus_class_table[cls]     AttributeError: 'DBusMockObject' object has no attribute '_dbus_class_table'

Comment 1 GNOME Infrastructure Team 2019-03-20 11:25:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/264.