()
| 741 | done = False |
| 742 | |
| 743 | def insert_docs(): |
| 744 | nonlocal done |
| 745 | while not done: |
| 746 | db.inventory.insert_one({"username": "alice"}) |
| 747 | db.inventory.delete_one({"username": "alice"}) |
| 748 | time.sleep(0.005) |
| 749 | |
| 750 | t = ConcurrentRunner(target=insert_docs) |
| 751 | t.start() |
nothing calls this directly
no test coverage detected