This patch series eventually adds a unit test for renew-crypto. The patches before that add various test utilities and refactor code in order to make it more testable. It also fixes some bugs on the way.
Helga Velroyen (9): Fix TestDetermineKeyBits SSH testutils: function to return all node UUIDs RenewCrypto: do not consult public key file SSH utility functions for key manipulation Remove _ReplaceMasterKeyOnMaster SSH testutils: add key generation Make backend.RenewCrypto more testable SSH testutils: GetKeyOfNode Unit test for backend.RenewCrypto lib/backend.py | 113 ++++----------- lib/client/gnt_cluster.py | 8 +- lib/client/gnt_node.py | 6 +- lib/ssh.py | 152 +++++++++++++++++++- test/py/ganeti.backend_unittest.py | 77 +++++++++- test/py/ganeti.client.gnt_cluster_unittest.py | 2 +- test/py/ganeti.ssh_unittest.py | 193 ++++++++++++++++++++++++-- test/py/testutils_ssh.py | 60 ++++++++ 8 files changed, 502 insertions(+), 109 deletions(-) -- 2.6.0.rc2.230.g3dd15c0
