App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine.tools.devappserver2.gcs_server_test.GCSTest Class Reference
Inheritance diagram for google.appengine.tools.devappserver2.gcs_server_test.GCSTest:
google.appengine.tools.devappserver2.wsgi_test_utils.WSGITestCase

Public Member Functions

def setUp
 
def tearDown
 
def run_request
 
def expect_dispatch
 
def test_dispatch
 
def test_http_308
 
def test_dispatch_value_error
 
- Public Member Functions inherited from google.appengine.tools.devappserver2.wsgi_test_utils.WSGITestCase
def assertHeadersEqual
 
def assertResponse
 

Public Attributes

 mox
 
 app
 

Detailed Description

Tests GCS url handler.

Member Function Documentation

def google.appengine.tools.devappserver2.gcs_server_test.GCSTest.expect_dispatch (   self,
  method,
  headers,
  path,
  body,
  result 
)
Setup a mox expectation to gcs_dispatch.dispatch.
def google.appengine.tools.devappserver2.gcs_server_test.GCSTest.test_dispatch (   self)
Tests that dispatch stub is called with the correct parameters.
def google.appengine.tools.devappserver2.gcs_server_test.GCSTest.test_dispatch_value_error (   self)
Tests that ValueError raised by dispatch stub is handled properly.
def google.appengine.tools.devappserver2.gcs_server_test.GCSTest.test_http_308 (   self)
Tests that the non-standard HTTP 308 status code is handled properly.

The documentation for this class was generated from the following file: