Skip to content

Commit bf397f9

Browse files
committed
fix: resolve test imports
1 parent 4c13e4d commit bf397f9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/btrdb/test_conn.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
from unittest.mock import Mock, PropertyMock, call, patch
2020

2121
import pytest
22-
import uuid
23-
2422

2523
from btrdb.conn import BTrDB, Connection
2624
from btrdb.endpoint import Endpoint
@@ -35,7 +33,7 @@
3533

3634
@pytest.fixture
3735
def stream1():
38-
uu = uuid.UUID("0d22a53b-e2ef-4e0a-ab89-b2d48fb2592a")
36+
uu = uuidlib.UUID("0d22a53b-e2ef-4e0a-ab89-b2d48fb2592a")
3937
stream = Mock(Stream)
4038
stream.version = Mock(return_value=11)
4139
stream.uuid = Mock(return_value=uu)
@@ -49,7 +47,7 @@ def stream1():
4947

5048
@pytest.fixture
5149
def stream2():
52-
uu = uuid.UUID("17dbe387-89ea-42b6-864b-f505cdb483f5")
50+
uu = uuidlib.UUID("17dbe387-89ea-42b6-864b-f505cdb483f5")
5351
stream = Mock(Stream)
5452
stream.version = Mock(return_value=22)
5553
stream.uuid = Mock(return_value=uu)
@@ -63,7 +61,7 @@ def stream2():
6361

6462
@pytest.fixture
6563
def stream3():
66-
uu = uuid.UUID("17dbe387-89ea-42b6-864b-e2ef0d22a53b")
64+
uu = uuidlib.UUID("17dbe387-89ea-42b6-864b-e2ef0d22a53b")
6765
stream = Mock(Stream)
6866
stream.version = Mock(return_value=33)
6967
stream.uuid = Mock(return_value=uu)

0 commit comments

Comments
 (0)