From a51444257a1425ab20c9be41df3aa189380ea192 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Wed, 15 Sep 2021 18:51:01 +1200 Subject: [PATCH] Spec: no overwrite is possible on the first run --- spec/vncserver_spec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/vncserver_spec.py b/spec/vncserver_spec.py index e39e9db..45240d1 100644 --- a/spec/vncserver_spec.py +++ b/spec/vncserver_spec.py @@ -71,8 +71,8 @@ with description('vncserver') as self: add_kasmvnc_user_docker() cmd = f'{vncserver_cmd} -select-de' - choose_cinnamon_and_answer_yes = "1\ny\n" - completed_process = run_cmd(cmd, input=choose_cinnamon_and_answer_yes) + choose_cinnamon = "1\n" + completed_process = run_cmd(cmd, input=choose_cinnamon) expect(completed_process.returncode).to(equal(0)) check_de_was_setup_to_run('cinnamon')