Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
248: Fix running tests inside user units r=jmesmon a=mtorromeo The assertion in `test_get_unit` failed on the assumption that there could only be either a system unit or a user unit, while having both is possible. For example, in my system every desktop application gets its own user unit (e.g. `app-org.kde.konsole-<SOMEID>.scope`) and this is in turn part of the system unit which owns the user session (e.g. `[email protected]`). I'm assuming that every user unit will be part of such a `[email protected]` and so I changed the assertion to only verify that condition. Co-authored-by: Massimiliano Torromeo <[email protected]>
- Loading branch information