schrodinger.application.models.test.client_contract module

Test contract for AbstractLibraryClient implementations.

This module provides a test contract that can be used to verify that concrete implementations of AbstractLibraryClient properly implement the interface.

class schrodinger.application.models.test.client_contract.LibraryClientContract

Bases: object

Test contract for AbstractLibraryClient implementations.

Subclasses are required to implement make_client() to run any necessary cleanup in the teardown() method.

make_client() AbstractLibraryClient
setup()
test_createDefinition()
test_updateDefinition()
test_getDefinition()
test_createConfiguration()
test_getConfiguration()
test_updateConfiguration()
test_getAllDefinitionIds()
test_getAllConfigurationIds()
test_getDefinitionVersions()
test_getConfigurationVersions()
test_createExecutionRecord()
test_getAllExecutionRecordIds()
test_getCurrentUser()
test_getDefinitions()
test_getConfigurations()