schrodinger.test.stu.outcomes.failures module¶
STU workup exception types.
@copyright: Schrodinger, LLC. All rights reserved.
- exception schrodinger.test.stu.outcomes.failures.READMESyntaxError[source]¶
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[source]¶
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[source]¶
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[source]¶
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[source]¶
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[source]¶
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[source]¶
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[source]¶
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[source]¶
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[source]¶
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.