mirror of
https://git.launchpad.net/~ubuntu-qt-code/ubuntu/+source/calamares/+git/calamares
synced 2026-03-13 02:37:39 +00:00
19 lines
608 B
Diff
19 lines
608 B
Diff
--- a/src/modules/displaymanager/tests/test-dm-sddm.py
|
|
+++ b/src/modules/displaymanager/tests/test-dm-sddm.py
|
|
@@ -3,6 +3,7 @@
|
|
#
|
|
# Calamares Boilerplate
|
|
import libcalamares
|
|
+import os
|
|
libcalamares.globalstorage = libcalamares.GlobalStorage(None)
|
|
libcalamares.globalstorage.insert("testing", True)
|
|
|
|
@@ -12,6 +13,7 @@ default_desktop_environment = main.Deskt
|
|
|
|
# Specific DM test
|
|
d = main.DMsddm("/tmp")
|
|
+os.makedirs("/tmp/etc", exist_ok=True)
|
|
d.set_autologin("d", True, default_desktop_environment)
|
|
# .. and again (this time checks load/save)
|
|
d.set_autologin("d", True, default_desktop_environment)
|