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