Commit d145f2ab authored by hardy's avatar hardy

fix column shift for the test results

parent 1a585420
...@@ -226,7 +226,7 @@ class gDashboard: ...@@ -226,7 +226,7 @@ class gDashboard:
requests.append(self.addHyperlink(hyperlink, text, destinationSheetName, rowIndex, colIndex)) requests.append(self.addHyperlink(hyperlink, text, destinationSheetName, rowIndex, colIndex))
mr=str(self.git[x]['iid']) mr=str(self.git[x]['iid'])
colIndex=14 colIndex=15
for t in self.tests: for t in self.tests:
job=self.tests[t]['job'] job=self.tests[t]['job']
if job in self.db[mr]: if job in self.db[mr]:
...@@ -248,12 +248,12 @@ class gDashboard: ...@@ -248,12 +248,12 @@ class gDashboard:
#add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas) #add MR hyperlinks in a list of requests to be sent as one update batch; this to save API calls (quotas)
requests=[] requests=[]
rowIndex=1 rowIndex=1
colIndex=12 colIndex=13
for t in self.tests : for t in self.tests :
hyperlink= '\"'+self.tests[t]['link']+'\"' hyperlink= '\"'+self.tests[t]['link']+'\"'
short_name= '\"'+ t +'\"' short_name= '\"'+ t +'\"'
requests.append(self.addHyperlink(hyperlink, short_name, destinationSheetName, rowIndex, colIndex)) requests.append(self.addHyperlink(hyperlink, short_name, destinationSheetName, rowIndex, colIndex))
colIndex+=3 colIndex+=4
body = {"requests": requests} body = {"requests": requests}
self.ss.batch_update(body) self.ss.batch_update(body)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment