(self)
| 674 | class TestAuthURIOptions(AsyncIntegrationTest): |
| 675 | @async_client_context.require_auth |
| 676 | async def asyncSetUp(self): |
| 677 | await super().asyncSetUp() |
| 678 | await async_client_context.create_user("admin", "admin", "pass") |
| 679 | await async_client_context.create_user( |
| 680 | "pymongo_test", "user", "pass", ["userAdmin", "readWrite"] |
| 681 | ) |
| 682 | |
| 683 | async def asyncTearDown(self): |
| 684 | await async_client_context.drop_user("pymongo_test", "user") |
nothing calls this directly
no test coverage detected