Testing this is a real pain, since it has to connect to logind via dbus, so there's a lot of moving parts to the test environment.
There's a very small amount of business logic underneath the system glue, which could be tested, but that's not where things tend to go wrong.
Testing this is a real pain, since it has to connect to logind via dbus, so there's a lot of moving parts to the test environment.
There's a very small amount of business logic underneath the system glue, which could be tested, but that's not where things tend to go wrong.