apama.basetest module

class apama.basetest.ApamaBaseTest(descriptor, outsubdir, runner)[source]

Bases: pysys.basetest.BaseTest

A custom PySys basetest for Apama tests.

__init__(descriptor, outsubdir, runner)[source]

Create an instance of the BaseTest class.

Parameters:
  • descriptor – The descriptor for the test giving all test details
  • outsubdir – The output subdirectory the test output will be written to
  • runner – Reference to the runner responsable for executing the testcase
getDefaultFileEncoding(file, **xargs)[source]

Specifies what encoding should be used to read or write the specified text file. The default implementation for BaseTest delegates to the runner, which in turn gets its defaults from the pysyproject.xml configuration.

See pysys.process.user.ProcessUser.getDefaultFileEncoding for more details.