diff --git a/pkgs/clan-cli/tests/test_secrets_password_store.py b/pkgs/clan-cli/tests/test_secrets_password_store.py index bdfe71e94..9ea393809 100644 --- a/pkgs/clan-cli/tests/test_secrets_password_store.py +++ b/pkgs/clan-cli/tests/test_secrets_password_store.py @@ -85,19 +85,21 @@ def test_upload_secret( assert zerotier_identity_secret.exists() assert store.exists("", "zerotier-identity-secret") - assert store.exists("", "password") - assert store.exists("", "password-hash") assert store.exists("", "user-password") assert store.exists("", "user-password-hash") assert store.exists("", "zerotier-identity-secret") + # Since root-password uses Vars they should not be uploaded / generated by the facts + assert not store.exists("", "password") + assert not store.exists("", "password-hash") + # Assert that root-password is valid - pwd_secret = store.get("", "password").decode() - assert pwd_secret.isprintable() - assert pwd_secret.isascii() - pwd_hash = store.get("", "password-hash").decode() - assert pwd_hash.isprintable() - assert pwd_hash.isascii() + # pwd_secret = store.get("", "password").decode() + # assert pwd_secret.isprintable() + # assert pwd_secret.isascii() + # pwd_hash = store.get("", "password-hash").decode() + # assert pwd_hash.isprintable() + # assert pwd_hash.isascii() # Assert that user-password is valid pwd_secret = store.get("", "user-password").decode()