schrodinger.test package¶
- schrodinger.test.relpath_from_testdir(*path_components)[source]¶
Absolute path to a file in the same directory as the calling code.
- schrodinger.test.assert_structures_identical(st1, st2, tolerance=1e-06)[source]¶
Determines if the given two structures are exactly the same. Specifically, determines if the two structures have the same atoms with the same properties and bonds in the same order.
- Parameters
st1 (Structure) – First structure to compare
st2 (Structure) – Second structure to compare
tolerance (float) – Absolute tolerance for comparing fractional atom and bond properties. Relative tolerance is not supported because properties read from file are limited to six decimal places, so this assertion might return false depending on the absolute value of the property.
- schrodinger.test.stringio_handler(logger: logging.Logger) Iterator[_io.StringIO] [source]¶
Temporarily add a StringIO as the stream of a handler in order to assert output of log.
Subpackages¶
- schrodinger.test.hypothesis namespace
- schrodinger.test.performance package
- schrodinger.test.pytest package
- schrodinger.test.stu package
- Subpackages
- schrodinger.test.stu.outcomes package
- Subpackages
- schrodinger.test.stu.outcomes.custom package
- Submodules
- schrodinger.test.stu.outcomes.custom.asl_count module
- schrodinger.test.stu.outcomes.custom.demo_custom_workup module
- schrodinger.test.stu.outcomes.custom.enum module
- schrodinger.test.stu.outcomes.custom.ffld_workups module
- schrodinger.test.stu.outcomes.custom.glide module
- schrodinger.test.stu.outcomes.custom.jaguar module
- schrodinger.test.stu.outcomes.custom.perceptual_diff module
- schrodinger.test.stu.outcomes.custom.phase_workups module
- Submodules
- schrodinger.test.stu.outcomes.custom package
- Submodules
- schrodinger.test.stu.outcomes.compareDesmondSystems module
- schrodinger.test.stu.outcomes.compare_csv module
- schrodinger.test.stu.outcomes.confgen_workups module
- schrodinger.test.stu.outcomes.correlate_to_reference_file module
- schrodinger.test.stu.outcomes.correlate_workup module
- schrodinger.test.stu.outcomes.desmond_workups module
- schrodinger.test.stu.outcomes.failures module
- schrodinger.test.stu.outcomes.jaguar module
- schrodinger.test.stu.outcomes.job_status module
- schrodinger.test.stu.outcomes.prime_workups module
- schrodinger.test.stu.outcomes.smarts_check module
- schrodinger.test.stu.outcomes.standard_workups module
- schrodinger.test.stu.outcomes.structure_comparisons module
- Subpackages
- schrodinger.test.stu.workups package
- schrodinger.test.stu.outcomes package
- Submodules
- schrodinger.test.stu.base_executable module
- schrodinger.test.stu.client module
- schrodinger.test.stu.common module
- schrodinger.test.stu.constants module
- schrodinger.test.stu.get_pdbs module
- schrodinger.test.stu.joberrors module
- schrodinger.test.stu.process_management module
- schrodinger.test.stu.run module
- schrodinger.test.stu.sysinfo module
- schrodinger.test.stu.testscripts module
- schrodinger.test.stu.workup module
- Subpackages
Submodules¶
- schrodinger.test.af2commontests module
- schrodinger.test.build_test_structures module
- schrodinger.test.canvas_utils module
- schrodinger.test.cluster_info module
- schrodinger.test.custom_assertions module
- schrodinger.test.custom_test_classes module
- schrodinger.test.darwinconsole module
- schrodinger.test.decorate_fflag module
- schrodinger.test.fakejob module
- schrodinger.test.fixtures module
- schrodinger.test.ioredirect module
- schrodinger.test.jobserver module
- schrodinger.test.ld_base_test_classes module
- schrodinger.test.ld_mock_modules module
- schrodinger.test.log_parser module
- schrodinger.test.memtest module
- schrodinger.test.mock_ld_client module
- schrodinger.test.mock_ld_models module
- schrodinger.test.perceptualdiff module
- schrodinger.test.project_mock module
- schrodinger.test.pytest_customizations module
- schrodinger.test.qt_utils module
- schrodinger.test.scival module
- schrodinger.test.structurecheck module
- schrodinger.test.test_markers module
- schrodinger.test.unittest_utils module
- schrodinger.test.warning_messages module