pyats.aereport.exceptions package

Exception module .

Submodules

exception pyats.aereport.exceptions.aereport_errors.AEReportError(faultString=None)

Bases: Fault

exception pyats.aereport.exceptions.aereport_errors.InvalidOperationError(host=None, pid=0, msg=None, message=None)

Bases: AEReportError

Exception class for operations/requests sent to AEReport server in the wrong context

exception pyats.aereport.exceptions.aereport_errors.InvalidOptionError(message=None)

Bases: AEReportError

Exception class for Invalid option for a certain field/element.

exception pyats.aereport.exceptions.aereport_errors.NoConnectionError(port=0, client_pid=0, message=None)

Bases: AEReportError

Exception class for clients that tries to connect or transfer information to the server but are not connected.

exception pyats.aereport.exceptions.aereport_errors.ServerNotStarted(message=None)

Bases: AEReportError

Exception class for server that cannot be started

exception pyats.aereport.exceptions.aereport_errors.SubTestNotFound(subtcid=0, message=None)

Bases: AEReportError

Exception class for non found Subtests

exception pyats.aereport.exceptions.aereport_errors.TestcaseNotFound(tcid=0, message=None)

Bases: AEReportError

Exception class for non found Testcases

exception pyats.aereport.exceptions.aereport_errors.TestscriptNotFound(message=None)

Bases: AEReportError

Exception class for non found Testscript

exception pyats.aereport.exceptions.aereport_errors.UnknownClientError(host=None, pid=0, message=None)

Bases: AEReportError

Exception class for clients not registered with AERunner

exception pyats.aereport.exceptions.aereport_errors.UnknownPIDError(pid=0, message=None)

Bases: AEReportError

Exception class for clients with PIDs whose PIDs are not registered with AEReport

exception pyats.aereport.exceptions.aereport_errors.UnknownParentClientError(host=None, pid=0, parenthost=None, parentpid=0, message=None)

Bases: AEReportError

Exception class for clients whose parents are not registered with AERunner.

exception pyats.aereport.exceptions.aereport_errors.UnknownParentPIDError(pid=0, ppid=0, host=None, message=None)

Bases: AEReportError

Exception class for clients with PIDs whose parents are not registered with AEReport

utils_errors – Utilities Exception Classes

exception pyats.aereport.exceptions.utils_errors.DictInvalidKeyError(k='', dict_name='', valid_keys=None)

Bases: Exception

Exception class for dict invalid keys.

exception pyats.aereport.exceptions.utils_errors.DictMissingMandatoryKeyError(k='', dict_name='', mand_keys=None)

Bases: Exception

Exception class for dict mandatory keys.

exception pyats.aereport.exceptions.utils_errors.InvalidArgumentError(arg_name, accepted_args)

Bases: Exception

Exception class for invalid arguments (for methods with restricted set of arguments).

exception pyats.aereport.exceptions.utils_errors.MissingArgError(arg='')

Bases: Exception

Exception class for missing mandatory args.

exception pyats.aereport.exceptions.utils_errors.StrInvalidOptionError(k='', str_name='', valid_keys=None)

Bases: Exception

Exception class for dict invalid keys.

exception pyats.aereport.exceptions.utils_errors.TypeMismatchError(expecting='', got='', var_name='')

Bases: Exception

Exception class for type mismatch.