equal
deleted
inserted
replaced
332 self.check_no_cors(req) |
332 self.check_no_cors(req) |
333 |
333 |
334 def test_noorigin(self): |
334 def test_noorigin(self): |
335 with self.options(**{alloworig: '*'}): |
335 with self.options(**{alloworig: '*'}): |
336 with self.admin_access.web_request() as req: |
336 with self.admin_access.web_request() as req: |
337 req = self.request() |
|
338 data = self.app_handle_request(req) |
337 data = self.app_handle_request(req) |
339 self.check_no_cors(req) |
338 self.check_no_cors(req) |
340 |
339 |
341 def test_origin_noaccess(self): |
340 def test_origin_noaccess(self): |
342 with self.admin_access.web_request() as req: |
341 with self.admin_access.web_request() as req: |
410 self.check_no_cors(req) |
409 self.check_no_cors(req) |
411 |
410 |
412 def test_noorigin(self): |
411 def test_noorigin(self): |
413 with self.options(**{alloworig: '*'}): |
412 with self.options(**{alloworig: '*'}): |
414 with self.admin_access.web_request(method='OPTIONS') as req: |
413 with self.admin_access.web_request(method='OPTIONS') as req: |
415 req = self.request() |
|
416 data = self.app_handle_request(req) |
414 data = self.app_handle_request(req) |
417 self.check_no_cors(req) |
415 self.check_no_cors(req) |
418 |
416 |
419 def test_origin_noaccess(self): |
417 def test_origin_noaccess(self): |
420 with self.admin_access.web_request(method='OPTIONS') as req: |
418 with self.admin_access.web_request(method='OPTIONS') as req: |