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

tests::parsers::test_csgo::CsgoTestCase Class Reference

Inheritance diagram for tests::parsers::test_csgo::CsgoTestCase:
tests::parsers::test_csgo::Test_functional tests::parsers::test_csgo::Test_functional tests::parsers::test_csgo::Test_gamelog_parsing tests::parsers::test_csgo::Test_gamelog_parsing tests::parsers::test_csgo::Test_getClientOrCreate tests::parsers::test_csgo::Test_getClientOrCreate tests::parsers::test_csgo::Test_parser_API tests::parsers::test_csgo::Test_parser_API tests::parsers::test_csgo::Test_parser_other tests::parsers::test_csgo::Test_parser_other

List of all members.

Public Member Functions

def setUpClass
def setUp
def tearDown
def clear_events
def assert_has_event
def output_write
def setUpClass
def setUp
def tearDown
def clear_events
def assert_has_event
def output_write

Public Attributes

 status_response
 conf
 parser
 evt_queue
 queueEvent_patcher
 queueEvent_mock

Detailed Description

Test case that is suitable for testing CS:GO parser specific features

Member Function Documentation

def tests::parsers::test_csgo::CsgoTestCase::assert_has_event (   self,
  event_type,
  data = None,
  client = None,
  target = None 
)
assert that self.evt_queue contains at least one event for the given type that has the given characteristics.
def tests::parsers::test_csgo::CsgoTestCase::assert_has_event (   self,
  event_type,
  data = None,
  client = None,
  target = None 
)
assert that self.evt_queue contains at least one event for the given type that has the given characteristics.
def tests::parsers::test_csgo::CsgoTestCase::clear_events (   self)
clear the event queue, so when assert_has_event is called, it will look only at the newly caught events.
def tests::parsers::test_csgo::CsgoTestCase::clear_events (   self)
clear the event queue, so when assert_has_event is called, it will look only at the newly caught events.
def tests::parsers::test_csgo::CsgoTestCase::output_write (   self,
  args,
  kwargs 
)
Used to override parser self.output.write method so we can control the response given to the 'status'
rcon command
def tests::parsers::test_csgo::CsgoTestCase::output_write (   self,
  args,
  kwargs 
)
Used to override parser self.output.write method so we can control the response given to the 'status'
rcon command
def tests::parsers::test_csgo::CsgoTestCase::setUp (   self)
def tests::parsers::test_csgo::CsgoTestCase::setUp (   self)
def tests::parsers::test_csgo::CsgoTestCase::setUpClass (   cls)
def tests::parsers::test_csgo::CsgoTestCase::setUpClass (   cls)
def tests::parsers::test_csgo::CsgoTestCase::tearDown (   self)
def tests::parsers::test_csgo::CsgoTestCase::tearDown (   self)

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Properties