1import unittest
2import TestInput
3import logger
4
5
6class HelloWorldTest(unittest.TestCase):
7
8    log = None
9    input = TestInput.TestInput
10
11    def setUp(self):
12        self.log = logger.Logger.get_logger()
13        self.input = TestInput.TestInputSingleton.input
14        self.log.info('test setUp invoked')
15        self.log.info('getting server ips')
16        servers = self.input.servers
17        for server in servers:
18            self.log.info("server ip : {0}".format(server.ip))
19
20    def test_hello_1(self):
21        self.log.info('running hello_1')
22        i = 1
23        self.assertEquals(i,1)
24
25    def test_hello_2(self):
26        self.log.info('running hello_2')
27        i = 2
28        self.assertEquals(i,2)
29
30    def tearDown(self):
31        self.log.info('tearDown invoked')