ModelTest

December 10, 2021 ยท View on GitHub

from tdw.add_ons.model_verifier.model_tests.model_test import ModelTest

Run a test on a model.


Fields

  • reports A list of report strings after running the test.

  • done If True, the test is done.


Functions

__init__

ModelTest(record)

ParameterTypeDefaultDescription
recordModelRecordThe model record.

start

self.start()

Returns: A list of commands to start the test.

on_send

self.on_send(resp)

ParameterTypeDefaultDescription
respList[bytes]The response from the build.

Returns: A list of commands to continue or end the test.