def test_sys_info_whitespaces(self): result = _get_sys_info(SHOWSYS_WHITESPACES.split('\n')) self.assertEquals(result, ('3par-3-123', 'Server 1234', '12345'))
def test_sys_info_2(self): result = _get_sys_info(SHOWSYS_2.split('\n')) self.assertEquals(result, ('3par-2-123', 'Server 1234', '9876543'))
def test_sys_info_3(self): result = _get_sys_info(SHOWSYS_3.split('\n')) self.assertEquals(result, ('3par-3-123', 'Server 1234', '12345'))
def test_sys_info_1(self): result = _get_sys_info(SHOWSYS_1.split('\n')) self.assertEquals(result, ('3par-1-123', 'Server 12345', '5432109'))