schrodinger.test.stu.outcomes.failures module

STU workup exception types.

@copyright: Schrodinger, LLC. All rights reserved.

exception schrodinger.test.stu.outcomes.failures.READMESyntaxError

Bases: ValueError

Exception for issues with the syntax of a README file.

__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.WorkupFailure

Bases: AssertionError

General failure during workup.

failure_type = 'workup'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.JobFailure

Bases: schrodinger.test.stu.outcomes.failures.WorkupFailure

Base class for various problems with test/job execution.

failure_type = 'job'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.JobLaunchFailure

Bases: schrodinger.test.stu.outcomes.failures.JobFailure

failure_type = 'job launch failed'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.JobKilledFailure

Bases: schrodinger.test.stu.outcomes.failures.JobFailure

failure_type = 'job was killed'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.JobDiedFailure

Bases: schrodinger.test.stu.outcomes.failures.JobFailure

failure_type = 'job died'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.JobFizzledFailure

Bases: schrodinger.test.stu.outcomes.failures.JobFailure

failure_type = 'job fizzled'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.JobExpectedFailure

Bases: schrodinger.test.stu.outcomes.failures.JobFailure

failure_type = 'job should have failed'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.LicenseFailure

Bases: schrodinger.test.stu.outcomes.failures.WorkupFailure

failure_type = 'license mismatch'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception schrodinger.test.stu.outcomes.failures.WorkupImportFailure

Bases: schrodinger.test.stu.outcomes.failures.WorkupFailure

Problems importing or finding the workup. Usually indicates a bad workup string.

failure_type = 'could not import workup'
__init__(*args, **kwargs)
args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.