gluster-rhsc/nagios-plugin — pull request #2 by balamurugana (2014-03-07 06:04:37+00:00)
Title: tests: add nose unit test framework

This patch enables nose unit test framework highly inspired by vdsm.
Below is the same unit test code

from testrunner import AddonTestCase as TestCaseBase

class TestHello(TestCaseBase):

def test1_world(self):
self.assertEqual(1, 1)

def test2_world(self):
self.assertEqual(1, 2)

Signed-off-by: Bala.FA