test_mpack Module

test_mpack.py This file manages a test pack

class mewlo.mpacks.3rdparty.testpack.test_mpack.Test_MewloPackWorker(pack)[source]

Bases: mewlo.mpacks.core.pack.mpackworker.MewloPackWorker

The Test_MewloPack class defines a test mewlo “pack” aka extension/plugin/addon.

check_isusable()[source]

See base class for documentation.

dumps(indent=0)[source]

Return a string (with newlines and indents) that displays some debugging useful information about the object.

setup_everything(mewlosite, eventlist)[source]
signalcallback_test(receiverobject, id, message, request, source)[source]
startup(mewlosite, eventlist)[source]
updatecheck_checkdatabase()[source]

This function should be implemented by derived classes. Check if this pack object needs to run a database update before it can be used. :return: tuple (isdatabaseupdateneeded, failure)

class mewlo.mpacks.3rdparty.testpack.test_mpack.Test_MewloPack_Service[source]

Bases: object

This is a dummy object that we use to test the component registry. It pretends to be a service, but it does nothing.

dumps(indent=0)[source]

Return a string (with newlines and indents) that displays some debugging useful information about the object.

Table Of Contents

This Page