Skip to content

autonomy.fsm.scaffold.generators.tests

Test generators.

RoundTestsFileGenerator Objects

class RoundTestsFileGenerator(AbstractFileGenerator, TEST_ROUNDS)

RoundTestsFileGenerator

get_file_content

def get_file_content() -> str

Scaffold the 'test_rounds.py' file.

BehaviourTestsFileGenerator Objects

class BehaviourTestsFileGenerator(AbstractFileGenerator, TEST_BEHAVIOURS)

File generator for 'test_behaviours.py' modules.

get_file_content

def get_file_content() -> str

Scaffold the 'test_behaviours.py' file.

PayloadTestsFileGenerator Objects

class PayloadTestsFileGenerator(AbstractFileGenerator, TEST_PAYLOADS)

File generator for 'test_payloads.py' modules.

get_file_content

def get_file_content() -> str

Scaffold the 'test_payloads.py' file.

ModelTestFileGenerator Objects

class ModelTestFileGenerator(SimpleFileGenerator, TEST_MODELS)

File generator for 'test_models.py'.

HandlersTestFileGenerator Objects

class HandlersTestFileGenerator(SimpleFileGenerator, TEST_HANDLERS)

File generator for 'test_dialogues.py'.

DialoguesTestFileGenerator Objects

class DialoguesTestFileGenerator(SimpleFileGenerator, TEST_DIALOGUES)

File generator for 'test_dialogues.py'.