The GetLinuxNodeInfo needs to be modified to be compatible with newer lint
versions, but it was not unit tested.

This patch set introduces a test for it.

Michele Tartara (2):
  Prepare GetLinuxNodeInfo for testing
  Add unit test for GetLinuxNodeInfo

 Makefile.am                           |    2 +
 lib/hypervisor/hv_base.py             |   10 +++-
 test/data/proc_cpuinfo.txt            |  104 +++++++++++++++++++++++++++++++++
 test/data/proc_meminfo.txt            |   42 +++++++++++++
 test/py/ganeti.hypervisor_unittest.py |   12 ++++
 5 files changed, 167 insertions(+), 3 deletions(-)
 create mode 100644 test/data/proc_cpuinfo.txt
 create mode 100644 test/data/proc_meminfo.txt

--
1.7.10.4

Reply via email to