# SPDX-License-Identifier: GPL-3.0-or-later """Post-install checks: the user account archsetup creates. Parity port of validate_user_created / validate_user_shell from validation.sh. """ import pytest @pytest.mark.smoke @pytest.mark.attribution("archsetup") def test_user_exists(host, target_user): assert host.user(target_user).exists @pytest.mark.attribution("archsetup") def test_user_shell_is_zsh(host, target_user): assert host.user(target_user).shell == "/usr/bin/zsh"