rancher / elemental-toolkit

:snowflake: The toolkit to build, ship and maintain cloud-init driven Linux derivatives based on container images
https://rancher.github.io/elemental-toolkit/docs/
Apache License 2.0
282 stars 49 forks source link

Use fake mounter in tests #2100

Closed davidcassany closed 1 month ago

davidcassany commented 1 month ago

This PR is just to use the fakemounter interface in some units tests where it was not initiated.

This prevent many dialogs asking for root password to appear when running tests in a desktop env do to the systemd integration of the default mounter.