tests Package

tests Package

utils Module

class thriftworker.tests.utils.CustomAppMixin[source]

Bases: object

Create application with custom loop.

setUp()[source]
wait_for_predicate(func, timeout=5.0)[source]
class thriftworker.tests.utils.GreenMeta[source]

Bases: type

class thriftworker.tests.utils.GreenTest(methodName='runTest')[source]

Bases: thriftworker.tests.utils.CustomAppMixin, thriftworker.tests.utils.NewBase

Ensure that all methods will be executed in loop.

setUp()[source]
class thriftworker.tests.utils.StartStopLoopMixin[source]

Bases: thriftworker.tests.utils.CustomAppMixin

Ensure that hub will started be started before tests run.

setUp()[source]
wakeup_loop()[source]
class thriftworker.tests.utils.TestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Default test case that reset current application on each run.

setUp()[source]
thriftworker.tests.utils.start_stop_ctx(*args, **kwds)[source]

Start container on enter and stop on exit to and from context.

Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.