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