Lines Matching refs:path
13 from os.path import isfile, join
28 def WriteJson(request, path):
30 with open(path, 'wb+') as fd:
35 def WritePng(request, path):
36 with open(path, 'wb+') as fd:
65 path = self.output_dir + '/' + self.skp_name + '.cmd.json'
66 return WriteJson(Check(requests.get(self.url + '/cmd')), path)
71 path = self.output_dir + '/' + self.skp_name + '.png'
72 return WritePng(Check(requests.get(url)), path)
85 path = self.output_dir + '/' + self.skp_name + '.batches.json'
86 return WriteJson(Check(requests.get(self.url + '/batches')), path)
102 if not os.path.isdir(output_dir):