Пример #1
0
 def testPOSTRequestAllowed(self):
     check(self.makeRequest("POST"))
Пример #2
0
 def wrapper(self):
     check(self.request)
     return func(self)
Пример #3
0
 def testNonHTTPRequestAllowed(self):
     check("not a request")