BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::fake Namespace Reference

Classes

class  FakeConsole
class  FakeClient

Variables

string __version__ = '1.11'
tuple fakeConsole = FakeConsole([email protected]/conf/b3.distribution.xml')
tuple fakeAdminPlugin = AdminPlugin(fakeConsole, [email protected]/conf/plugin_admin.xml')
tuple joe = FakeClient(fakeConsole, name="Joe", exactName="Joe", guid="zaerezarezar", groupBits=1, team=b3.TEAM_UNKNOWN)
tuple simon = FakeClient(fakeConsole, name="Simon", exactName="Simon", guid="qsdfdsqfdsqf", groupBits=0, team=b3.TEAM_UNKNOWN)
tuple reg = FakeClient(fakeConsole, name="Reg", exactName="Reg", guid="qsdfdsqfdsqf33", groupBits=4, team=b3.TEAM_UNKNOWN)
tuple moderator = FakeClient(fakeConsole, name="Moderator", exactName="Moderator", guid="sdf455ezr", groupBits=8, team=b3.TEAM_UNKNOWN)
tuple admin = FakeClient(fakeConsole, name="Level-40-Admin", exactName="Level-40-Admin", guid="875sasda", groupBits=16, team=b3.TEAM_UNKNOWN)
tuple superadmin = FakeClient(fakeConsole, name="God", exactName="God", guid="f4qfer654r", groupBits=128, team=b3.TEAM_UNKNOWN)

Detailed Description

    This module make plugin testing simple. It provides you
    with fakeConsole and joe which can be used to say commands
    as if it where a player.

Variable Documentation

string b3::fake::__version__ = '1.11'
tuple b3::fake::admin = FakeClient(fakeConsole, name="Level-40-Admin", exactName="Level-40-Admin", guid="875sasda", groupBits=16, team=b3.TEAM_UNKNOWN)
tuple b3::fake::fakeAdminPlugin = AdminPlugin(fakeConsole, [email protected]/conf/plugin_admin.xml')
tuple b3::fake::fakeConsole = FakeConsole([email protected]/conf/b3.distribution.xml')
tuple b3::fake::joe = FakeClient(fakeConsole, name="Joe", exactName="Joe", guid="zaerezarezar", groupBits=1, team=b3.TEAM_UNKNOWN)
tuple b3::fake::moderator = FakeClient(fakeConsole, name="Moderator", exactName="Moderator", guid="sdf455ezr", groupBits=8, team=b3.TEAM_UNKNOWN)
tuple b3::fake::reg = FakeClient(fakeConsole, name="Reg", exactName="Reg", guid="qsdfdsqfdsqf33", groupBits=4, team=b3.TEAM_UNKNOWN)
tuple b3::fake::simon = FakeClient(fakeConsole, name="Simon", exactName="Simon", guid="qsdfdsqfdsqf", groupBits=0, team=b3.TEAM_UNKNOWN)
tuple b3::fake::superadmin = FakeClient(fakeConsole, name="God", exactName="God", guid="f4qfer654r", groupBits=128, team=b3.TEAM_UNKNOWN)
 All Classes Namespaces Files Functions Variables Properties