userver: pytest_userver.plugins.mongo Namespace Reference
Loading...
Searching...
No Matches
pytest_userver.plugins.mongo Namespace Reference

Detailed Description

Plugin that imports the required fixtures to start the database and adjusts the mongo "dbconnection" static config value.

Functions

 userver_mongo_config (mongo_connection_info)
 Returns a function that adjusts the static configuration file for the testsuite.

Variables

list pytest_plugins

Variable Documentation

◆ pytest_plugins

list pytest_userver.plugins.mongo.pytest_plugins
Initial value:
= [
'testsuite.databases.mongo.pytest_plugin',
'pytest_userver.plugins.core',
]

Definition at line 12 of file mongo.py.