@@ -135,14 +135,14 @@ def test_keybaseca_backup(self):
135135
136136 def test_keybaseca_sign (self , test_config ):
137137 # Stdout contains a useful message
138- with open ('/mnt /keybaseca-sign.out' ) as f :
138+ with open ('/shared /keybaseca-sign.out' ) as f :
139139 assert "Provisioned new certificate" in f .read ()
140140
141141 # SSH with that certificate should just work for every team
142- assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /mnt /userkey user@sshd-prod 'sha1sum /etc/unique'" ))
143- assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /mnt /userkey root@sshd-prod 'sha1sum /etc/unique'" ))
144- assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /mnt /userkey user@sshd-staging 'sha1sum /etc/unique'" ))
145- assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /mnt /userkey root@sshd-prod 'sha1sum /etc/unique'" ))
142+ assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /shared /userkey user@sshd-prod 'sha1sum /etc/unique'" ))
143+ assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /shared /userkey root@sshd-prod 'sha1sum /etc/unique'" ))
144+ assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /shared /userkey user@sshd-staging 'sha1sum /etc/unique'" ))
145+ assert_contains_hash (test_config .expected_hash , run_command (f"ssh -q -o StrictHostKeyChecking=no -i /shared /userkey root@sshd-prod 'sha1sum /etc/unique'" ))
146146
147147 # Checking that it actually contains the correct principals
148- assert get_principals ("/mnt /userkey-cert.pub" ) == set (test_config .subteams )
148+ assert get_principals ("/shared /userkey-cert.pub" ) == set (test_config .subteams )
0 commit comments