From e643cf41152b4ff5f287248a9066424f73414249 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Thu, 16 Sep 2021 18:38:09 +1200 Subject: [PATCH] Specs: improve test --- spec/vncserver_spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/vncserver_spec.py b/spec/vncserver_spec.py index 24ab0f1..955cb94 100644 --- a/spec/vncserver_spec.py +++ b/spec/vncserver_spec.py @@ -141,7 +141,7 @@ with description('vncserver') as self: home_dir = os.environ['HOME'] user = os.environ['USER'] - completed_process = run_cmd(f'grep -q {user} {home_dir}/.kasmpasswd') + completed_process = run_cmd(f'grep -qw {user} {home_dir}/.kasmpasswd') expect(completed_process.returncode).to(equal(0)) with fit('specify custom username'):