web/test/unittest_http.py
changeset 9648 15680eb67168
parent 9571 aaf83cc07eed
child 9736 e0b3fcf1c205
--- a/web/test/unittest_http.py	Thu Apr 03 15:47:04 2014 +0200
+++ b/web/test/unittest_http.py	Thu Apr 03 15:51:29 2014 +0200
@@ -334,7 +334,6 @@
     def test_noorigin(self):
         with self.options(**{alloworig: '*'}):
             with self.admin_access.web_request() as req:
-                req = self.request()
                 data = self.app_handle_request(req)
                 self.check_no_cors(req)
 
@@ -412,7 +411,6 @@
     def test_noorigin(self):
         with self.options(**{alloworig: '*'}):
             with self.admin_access.web_request(method='OPTIONS') as req:
-                req = self.request()
                 data = self.app_handle_request(req)
                 self.check_no_cors(req)