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

tests.conftest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A mongodb() 0 3 1
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