mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 09:03:30 +01:00
Specs: improve test
This commit is contained in:
parent
df35fadc9b
commit
e643cf4115
@ -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'):
|
||||
|
Loading…
Reference in New Issue
Block a user