def post_result(self, url, user, psswd):
     self.logger.debug( "Posting result to  %s"%url)
     conf = {'result' : int(self.result),
             'message' : self.summary,
             'action'  : self.script_name,
             'test_id' : int(self.test_id) }
     tr = TestResult(conf)
     return tr.post(url, user, psswd)
示例#2
0
 def post_result(self, url, user, psswd):
     print "Posting result to  %s"%url
     conf = {'result' : int(self.result),
             'message' : self.summary,
             'action'  : self.project_file,
             'test_id' : int(self.test_id) }
     tr = TestResult(conf)
     return tr.post(url, user, psswd)
 def post_result(self, url, user, psswd):
     self.logger.debug("Posting result to  %s" % url)
     conf = {
         'result': int(self.result),
         'message': self.summary,
         'action': self.script_name,
         'test_id': int(self.test_id)
     }
     tr = TestResult(conf)
     return tr.post(url, user, psswd)