Lines Matching refs:get

17         body = self.get()['body']
23 resp = self.get()
109 resp = self.get(url='/?var1=val1&var2=val2')
118 resp = self.get(url='/?')
131 assert self.get()['body'] == '0123'
147 resp = self.get(url='/?skip')
160 resp = self.get()
168 resp = self.get()
177 self.get(
188 self.get(
199 self.get(
212 resp = self.get()
222 assert self.get()['status'] == 200, 'init'
254 assert re.search(r'True', self.get()['body']), 'conditional true'
260 resp = self.get(url='/?var1=val1&var2=&var3')
284 resp = self.get(
298 assert self.get()['headers']['X-Precision'] != '4', 'ini value default'
305 self.get()['headers']['X-File']
308 assert self.get()['headers']['X-Precision'] == '4', 'ini value'
328 self.get()['headers']['X-File']
331 assert self.get()['headers']['X-Precision'] == '5', 'ini value admin'
342 self.get()['headers']['X-File']
345 assert self.get()['headers']['X-Precision'] == '5', 'ini value user'
354 assert self.get()['headers']['X-Precision'] == '4', 'ini user file'
360 assert self.get()['headers']['X-Precision'] == '5', 'ini value user'
370 self.get(url='/?precision=6')['headers']['X-Precision'] == '5'
381 self.get(url='/?precision=6')['headers']['X-Precision'] == '6'
391 assert self.get()['headers']['X-Precision'] == '5', 'ini value'
393 assert self.get()['headers']['X-Precision'] == '5', 'ini value repeat'
405 body = self.get()['body']
420 body = self.get()['body']
430 resp = self.get()
436 resp = self.get(
448 resp = self.get(
466 resp = self.get(
497 body = self.get()['body']
514 body = self.get()['body']
531 body = self.get()['body']
544 r'012345', self.get()['body']
553 r'012345', self.get()['body']
560 r'012345', self.get()['body']
569 r'012345', self.get()['body']
575 assert self.get()['status'] == 200, 'status'
579 assert self.get()['status'] == 200, 'status 2'
608 resp = self.get()
627 resp = self.get()
635 assert self.get(url='/index.wrong')['status'] != 200, 'status'
655 resp = self.get()
665 resp = self.get()
674 resp = self.get()
678 resp = self.get(url='/?chdir=/')
684 resp = self.get()
688 resp = self.get(url='/subdir/')
716 assert self.get()['body'] == script_cwd, 'default cwd'
718 assert self.get(url='/?chdir=/')['body'] == '/', 'cwd after chdir'
721 assert self.get()['body'] == script_cwd, 'cwd restored'
740 assert self.get()['body'] == 'test', 'relative path'
743 self.get(url='/?chdir=/')['body'] != 'test'
746 assert self.get()['body'] == 'test', 'relative path 2'
755 r = self.get()
767 assert self.get()['headers']['X-Cached'] == '0', 'not cached'
768 assert self.get()['headers']['X-Cached'] == '1', 'cached'
777 assert self.get()['headers']['X-Cached'] == '0', 'not cached'
778 assert self.get()['headers']['X-Cached'] == '1', 'cached'