mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-04-05 05:30:38 +02:00
dbusmock 0.30.1 changed the BlueZ template to set the default "Class" property to `MOCK_PHONE_CLASS` right away instead of in PairDevice() [1]. test_bluetooth_le_device() relied on the previous implicit default of a "0" Class value. Set this explicitly to expect a "generic" device. This makes the test work with old and current dbusmock versions. https://bugs.debian.org/1059467 [1] https://github.com/martinpitt/python-dbusmock/pull/192 |
||
|---|---|---|
| .. | ||
| tests | ||
| integration-test.py | ||
| meson.build | ||
| output_checker.py | ||
| README.debugging | ||
| unittest_inspector.py | ||
| up-backend.c | ||
| up-device-bluez.c | ||
| up-device-bluez.h | ||
| up-device-hid.c | ||
| up-device-hid.h | ||
| up-device-idevice.c | ||
| up-device-idevice.h | ||
| up-device-supply-battery.c | ||
| up-device-supply-battery.h | ||
| up-device-supply.c | ||
| up-device-supply.h | ||
| up-device-wup.c | ||
| up-device-wup.h | ||
| up-enumerator-udev.c | ||
| up-enumerator-udev.h | ||
| up-native.c | ||
===============
Debugging
===============
When filing new bugs, please include information about the
output of "upower -d", "/usr/libexec/upowerd -v -r", and:
find /sys/class/power_supply/hidpp_battery_1/ -type f -exec echo {} \; -exec cat {} \; -exec echo \;
as appropriate.