Completed
Push — main ( 6df2be...e961c2 )
by Rami
13s queued 11s
created

tests.conftest.mongodb()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nop 0
1
import pytest
2
from mongomantic import connect
3
4
5
@pytest.fixture(scope="module")
6
def mongodb():
7
    connect("localhost:27017", "test", mock=True)
8