BigBrotherBot v1.5.0
System Development Information for the BigBrotherBot project.
Classes | Variables

b3::fake Namespace Reference

Classes

class  FakeConsole
class  FakeColoredConsole
class  FakeStorage
class  FakeClient

Variables

string __version__ = '1.6'
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 moderator = FakeClient(fakeConsole, name="Moderator", exactName="Moderator", guid="sdf455ezr", groupBits=8, 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.6'
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::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