class StdTest(unittest2.TestCase): def setUp(self): unittest2.TestCase.setUp(self) self.testclass = ComputeNodes() def tearDown(self): unittest2.TestCase.tearDown(self) self.testclass.close() def test_get_junk(self): ret = self.testclass.get_junk() self.assertTrue(ret) def test_set_junk(self): ret = self.testclass.set_junk() self.assertTrue(ret)
def setUp(self): unittest2.TestCase.setUp(self) self.testclass = ComputeNodes()