![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | get_content |
def | set_content |
![]() | |
def | __init__ |
def | CreateRPC |
def | MakeSyncCall |
def | SetError |
Additional Inherited Members | |
![]() | |
request_data | |
![]() | |
THREADSAFE = False | |
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).
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.