Skip to content

Commit

Permalink
Merge pull request #3014 from freenas/fix-tests-invalid-ECDSAKey
Browse files Browse the repository at this point in the history
Fix paramiko.ssh_exception.SSHException: Invalid key in tests
  • Loading branch information
themylogin committed May 9, 2019
2 parents 04d5622 + 80232bb commit b18c72a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/api2/replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def test_00_bootstrap(credentials, periodic_snapshot_tasks):
"attributes": {
"host": "localhost",
"private_key": result.json()["id"],
"remote_host_key": "ecdsa-sha2-nistp256 AAA=",
"remote_host_key": "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBB5fBj8hpYu+"
"ts0pvDbjKOGwxRaSHqJMjo2MxkNkgn2VfG7tHq/KWmoXh/PdRu3h/b7mLrAJ1k7ZDJE1+A1MHXc=",
},
})
assert result.status_code == 200, result.text
Expand Down

0 comments on commit b18c72a

Please sign in to comment.