blob: 68131cede5ff8088c14f0eabf1835c8b2eff7b43 [file] [log] [blame] [edit]
#!/usr/bin/env python3
import sdbus
from sdbus_block.dbus_daemon import FreedesktopDbus
s = FreedesktopDbus(sdbus.sd_bus_open_system())
props = s.properties_get_all_dict()
print(props)
# Check for a randomly chosen interface:
assert 'org.freedesktop.DBus.Monitoring' in props['interfaces']