test: normalize SSH assertion quoting

This commit is contained in:
2026-09-15 14:19:25 +08:00
parent fb21f56aec
commit 9811fd63b6
+1 -1
View File
@@ -275,7 +275,7 @@ class AsteriskTests(unittest.TestCase):
def test_bootstrap_enforces_rogee_key_only_ssh(self):
content = Path("deploy/asterisk_bootstrap.sh").read_text()
for marker in (
"ROGEE_USER=\"rogee\"",
'ROGEE_USER="rogee"',
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPoGJTH1JrXbWu+ZhIgaHMhume0oWQiWmadhTwbk75Ny rogee@ipao.vip",
"PasswordAuthentication no",
"KbdInteractiveAuthentication no",