Add unittests for RPC client
authorMichael Hanselmann <hansmi@google.com>
Thu, 5 Jan 2012 19:00:34 +0000 (20:00 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 6 Jan 2012 11:34:46 +0000 (12:34 +0100)
commit065be3f0b8823eb6c41cfbfc2c6bb5d7ceb29413
treeca39e51de42c404e1440e9d9664fe4ed6da5d2c2
parente78667fef2e28294e2ccb954b3bb90815cff016a
Add unittests for RPC client

This patch adds a number of unittests for the RPC client base class.
Some small changes were necessary in “rpc.py” to allow for better
testing.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/rpc.py
test/ganeti.rpc_unittest.py