test Package

test Package

class tic.development.appengine.server.test.AppEngineTest[source]

Bases: object

setUp(disabled_capabilities=None, disabled_methods=None)[source]

Setup routine for App Engine test cases.

Args:
disabled_capabilities: A set of (package, capability) tuples defining
capabilities that are disabled.
disabled_methods: A set of (package, method) tuples defining methods that
are disabled. An entry of (‘package’, ‘*’) in disabled_capabilities is treated the same as finding the method being tested in this set.
class tic.development.appengine.server.test.DatastoreTest[source]

Bases: tic.development.appengine.server.test.AppEngineTest

setUp(datastore_file=None, history_file=None, require_indexes=False, **kwargs)[source]
class tic.development.appengine.server.test.ImagesTest[source]

Bases: tic.development.appengine.server.test.AppEngineTest

setUp(**kwargs)[source]
class tic.development.appengine.server.test.MailTest[source]

Bases: tic.development.appengine.server.test.AppEngineTest

setUp(**kwargs)[source]
class tic.development.appengine.server.test.MemcacheTest[source]

Bases: tic.development.appengine.server.test.AppEngineTest

setUp(**kwargs)[source]
class tic.development.appengine.server.test.TaskQueueTest[source]

Bases: tic.development.appengine.server.test.AppEngineTest

setUp(**kwargs)[source]
class tic.development.appengine.server.test.UsersTest[source]

Bases: tic.development.appengine.server.test.AppEngineTest

SetUser(user_email, user_is_admin=False)[source]
setUp(user_email=None, user_is_admin=False, **kwargs)[source]
class tic.development.appengine.server.test.XmppTest[source]

Bases: tic.development.appengine.server.test.AppEngineTest

setUp(xmpp_log=<function info at 0x101b1a758>, **kwargs)[source]
tic.development.appengine.server.test.main(app_id, auth_domain='gmail.com', server_software='Development/1.0 (AppEngineTest)')[source]
tic.development.appengine.server.test.setup_local_datastore_service()[source]

_runner Module

tic.development.appengine.server.test._runner.get_unit_tests(args=None)[source]
tic.development.appengine.server.test._runner.run(args)[source]

Runs all the unit tests available

admin Module

class tic.development.appengine.server.test.admin.TestCommand(compmgr, init=None, cls=<class 'tic.development.appengine.server.test.admin.TestCommand'>)[source]

Bases: tic.core.Component

get_admin_commands()[source]
mmm()[source]
>>> a = 2
>>> a + 2
4

capabilities Module

class tic.development.appengine.server.test.capabilities.CapabilityServiceStub(disabled_capabilities, disabled_methods, service_name='capability_service')[source]

Bases: google.appengine.api.apiproxy_stub.APIProxyStub

Test-oriented capability service stub.

class tic.development.appengine.server.test.capabilities.CapabilityStubWrapper(wrapped_stub, disabled_capabilities, disabled_methods)[source]

Bases: object

A wrapper for stubs that raises CapabilityDisabledError when needed.

CreateRPC()[source]

Creates a (dummy) RPC object instance.

MakeSyncCall(service, call, request, response)[source]

tests Module

class tic.development.appengine.server.test.tests.TestTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_hello()[source]

TODOC

test_hi()[source]

TODOC

Table Of Contents

Previous topic

server Package

Next topic

closure Package

This Page