Searched defs:database_connection (Results 1 - 12 of 12) sorted by relevance

/external/autotest/scheduler/
H A Dmonitor_db_cleanup_test.py6 from autotest_lib.database import database_connection namespace
16 database_connection.DatabaseConnection.get_test_database())
H A Dscheduler_lib_unittest.py12 from autotest_lib.database import database_connection namespace
56 database_connection._DjangoBackend.execute = mock.MagicMock()
57 database_connection._DjangoBackend.execute.side_effect = (
64 database_connection._DjangoBackend.execute.call_count == 2)
65 database_connection._DjangoBackend.execute.reset_mock()
H A Dscheduler_lib.py18 from autotest_lib.database import database_connection namespace
29 _re_translator = database_connection.TranslatingDatabase.make_regexp_translator
73 db = database_connection.DatabaseConnection(DB_CONFIG_SECTION)
H A Drdb_testing_utils.py13 from autotest_lib.database import database_connection namespace
67 database_connection.TranslatingDatabase.get_test_database(
315 database_connection.TranslatingDatabase.get_test_database(
H A Dscheduler_models_unittest.py12 from autotest_lib.database import database_connection namespace
34 database_connection.TranslatingDatabase.get_test_database(
H A Dmonitor_db_functional_test.py6 from autotest_lib.database import database_connection namespace
343 database_connection.TranslatingDatabase.get_test_database(
H A Dmonitor_db_unittest.py12 from autotest_lib.database import database_connection namespace
106 database_connection.TranslatingDatabase.get_test_database(
/external/autotest/utils/
H A Dsite_check_dut_usage.py20 from autotest_lib.database import database_connection namespace
129 database_connection._GLOBAL_CONFIG_NAMES.update(
133 self._database_connection = database_connection.DatabaseConnection(
/external/autotest/cli/
H A Dquery_results9 from autotest_lib.database import database_connection namespace
79 database = database_connection.DatabaseConnection("AUTOTEST_WEB")
/external/autotest/database/
H A Ddatabase_connection_unittest.py7 from autotest_lib.database import database_connection namespace
38 db = database_connection.DatabaseConnection(config_section)
41 database_connection._GenericBackend, 'fake_backend')
42 for exception in database_connection._DB_EXCEPTIONS:
134 db.max_reconnect_attempts = database_connection.RECONNECT_FOREVER
H A Dmigrate_unittest.py7 from autotest_lib.database import database_connection, migrate namespace
70 database_connection.DatabaseConnection.get_test_database())
H A Dmigrate.py7 from autotest_lib.database import database_connection namespace
90 def __init__(self, database_connection, migrations_dir=None, force=False):
91 self._database = database_connection
475 database = database_connection.DatabaseConnection(db_name)

Completed in 159 milliseconds