Definition at line 53 of file pytest_plugin.py.
Public Member Functions | |
| __init__ (self, collections) | |
| pymongo.collection.Collection | __getitem__ (self, str alias) |
| bool | __contains__ (self, str alias) |
| tuple[str] | get_aliases (self) |
Protected Attributes | |
| _collections = collections.copy() | |
| _aliases = tuple(collections.keys()) | |
| testsuite.databases.mongo.pytest_plugin.CollectionWrapper.__init__ | ( | self, | |
| collections ) |
Definition at line 54 of file pytest_plugin.py.
| bool testsuite.databases.mongo.pytest_plugin.CollectionWrapper.__contains__ | ( | self, | |
| str | alias ) |
Definition at line 64 of file pytest_plugin.py.
| pymongo.collection.Collection testsuite.databases.mongo.pytest_plugin.CollectionWrapper.__getitem__ | ( | self, | |
| str | alias ) |
Definition at line 61 of file pytest_plugin.py.
| tuple[str] testsuite.databases.mongo.pytest_plugin.CollectionWrapper.get_aliases | ( | self | ) |
Definition at line 67 of file pytest_plugin.py.
|
protected |
Definition at line 59 of file pytest_plugin.py.
|
protected |
Definition at line 58 of file pytest_plugin.py.