Fabian Peter Hammerle
|
47bb97bb07
retain msgs on systemctl/hostname/preparing-for-shutdown
|
4 years ago |
Fabian Peter Hammerle
|
20dafb5c80
document shutdown report on systemctl/hostname/preparing-for-shutdown
|
4 years ago |
Fabian Peter Hammerle
|
737289de2d
refactor mqtt test: remove superfluous mock
|
4 years ago |
Fabian Peter Hammerle
|
cfe54ed0c1
subscribe to logind's PrepareForShutdown signal
|
4 years ago |
Fabian Peter Hammerle
|
953b0db210
refactor: rename _Settings -> _State
|
4 years ago |
Fabian Peter Hammerle
|
cea2382a94
tests: replace broken fixture with standard function
|
4 years ago |
Fabian Peter Hammerle
|
9cdc01bbdb
refactor: split _run test
|
4 years ago |
Fabian Peter Hammerle
|
45fe3cfc23
acquire shutdown inhibitor lock to reserve time to send mqtt msg before shutdown
|
4 years ago |
Fabian Peter Hammerle
|
aee870c751
prepare glib loop to receive dbus signals
|
4 years ago |
Fabian Peter Hammerle
|
6fc954ba94
refactor: replaced paho.mqtt.client.Client.on_message with specific .message_callback_add
|
4 years ago |
Fabian Peter Hammerle
|
5327714546
mqtt test: remove unused import
|
4 years ago |
Fabian Peter Hammerle
|
39b6bf4ea2
fix mqtt tests on python3.8
|
4 years ago |
Fabian Peter Hammerle
|
f28d4546ea
adapt _run tests: no longer mock entire client class
|
4 years ago |
Fabian Peter Hammerle
|
f9af627eef
tests / python3.5: fix AttributeError due to unavailable MagicMock.assert_called_once
|
4 years ago |
Fabian Peter Hammerle
|
69d25fe917
fix _mqtt_on_message test
|
4 years ago |
Fabian Peter Hammerle
|
9c115aef90
enable tls
|
4 years ago |
Fabian Peter Hammerle
|
0d1e0eb16c
tests: added license header
|
4 years ago |
Fabian Peter Hammerle
|
1574063886
mqtt message on topic systemctl/hostname/poweroff schedules poweroff with delay of 4 seconds
|
4 years ago |