oct.core package

Submodules

oct.core.exceptions module

exception oct.core.exceptions.FormNotFoundException[source]

Bases: exceptions.Exception

Raised in case of FormNotFound with browser

exception oct.core.exceptions.LinkNotFound[source]

Bases: exceptions.Exception

Raised in case of link not found in current html document

exception oct.core.exceptions.NoFormWaiting[source]

Bases: exceptions.Exception

Raised in case of action required form if no form selected

exception oct.core.exceptions.NoUrlOpen[source]

Bases: exceptions.Exception

Raised in case of no url open but requested inside browser class

exception oct.core.exceptions.OctConfigurationError[source]

Bases: exceptions.Exception

Provide an oct configuration error

exception oct.core.exceptions.OctGenericException[source]

Bases: exceptions.Exception

Provide generic exception for reports

oct.core.hq module

class oct.core.hq.HightQuarter(publish_port, rc_port, stats_handler, config)[source]

Bases: object

The main hight quarter that will receive informations from the turrets and send the start message

Parameters:
  • publish_port (int) – the port for publishing information to turrets
  • rc_port (int) – the result collector port for collecting results from the turrets
  • stats_handler (StatsHandler) – the stats handler writer
  • config (dict) – the configuration of the test
run()[source]

Run the hight quarter, lunch the turrets and wait for results

wait_turrets(wait_for)[source]

Wait until wait_for turrets are connected and ready

oct.core.main module

oct.core.test_loader module

Module contents