예제 #1
0
 def __run_parseTask_test(self, method, params, expect):
     self.session.getTaskRequest.return_value = params
     lines = _parseTaskParams(self.session, method, 1, '/mnt/koji')
     self.assertEquals(lines, expect)
예제 #2
0
 def __run_parseTask_test(self, method, params, expect):
     self.session.getTaskRequest.return_value = params
     lines = _parseTaskParams(self.session, method, 1, '/mnt/koji')
     self.assertEquals(lines, expect)