App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.api.files.testutil.TestFileServiceStub Class Reference
Inheritance diagram for google.appengine.api.files.testutil.TestFileServiceStub:
google.appengine.api.apiproxy_stub.APIProxyStub

Public Member Functions

def __init__
 
def get_content
 
def set_content
 
- Public Member Functions inherited from google.appengine.api.apiproxy_stub.APIProxyStub
def __init__
 
def CreateRPC
 
def MakeSyncCall
 
def SetError
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.api.apiproxy_stub.APIProxyStub
 request_data
 
- Static Public Attributes inherited from google.appengine.api.apiproxy_stub.APIProxyStub
 THREADSAFE = False
 

Detailed Description

A FileServiceStub to be used with tests.

Doesn't perform any kind of file validation and stores all
file content in memory.
Can be used to test low-level file calls only, because it doesn't
support all features (like blobstore files).

Member Function Documentation

def google.appengine.api.files.testutil.TestFileServiceStub.get_content (   self,
  filename 
)
Get current in-memory file content.
def google.appengine.api.files.testutil.TestFileServiceStub.set_content (   self,
  filename,
  content 
)
Set current in-memory file content.

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