This commit is contained in:
parent
9b1612e356
commit
2fee8be17a
@ -11,7 +11,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
|||||||
|
|
||||||
def test_users_create_user(host):
|
def test_users_create_user(host):
|
||||||
user = host.user("demouser")
|
user = host.user("demouser")
|
||||||
|
|
||||||
assert user.name == "demouser"
|
assert user.name == "demouser"
|
||||||
assert user.shell == "/bin/sh"
|
assert user.shell == "/bin/sh"
|
||||||
assert "wheel" in user.groups
|
assert "wheel" in user.groups
|
||||||
|
Loading…
Reference in New Issue
Block a user