Total Complexity | 1 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import pytest |
||
2 | from mongomantic import connect, disconnect |
||
3 | |||
4 | |||
5 | @pytest.fixture() |
||
6 | def mongodb(): |
||
7 | connect("localhost:27017", "test", mock=True) |
||
8 | yield |
||
9 | disconnect() |
||
10 |