SND@LHC Software
|
Functions | |
supply_dbAPI () | |
test_create_mongo_api () | |
test_create_unknown_api () | |
This module tests the factory.
conditionsDatabase.tests.test_factory.supply_dbAPI | ( | ) |
This function creates an instance of the CDB API. This can be used by other functions.
Definition at line 11 of file test_factory.py.
conditionsDatabase.tests.test_factory.test_create_mongo_api | ( | ) |
This test checks if the factory can create an instance of the API for MongoDB.
Definition at line 21 of file test_factory.py.
conditionsDatabase.tests.test_factory.test_create_unknown_api | ( | ) |
This function checks if the factory can raise a proper exception if an unsupported database type is specified in the configuration file.
Definition at line 30 of file test_factory.py.