File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 19
19
from unittest .mock import Mock , PropertyMock , call , patch
20
20
21
21
import pytest
22
- import uuid
23
-
24
22
25
23
from btrdb .conn import BTrDB , Connection
26
24
from btrdb .endpoint import Endpoint
35
33
36
34
@pytest .fixture
37
35
def stream1 ():
38
- uu = uuid .UUID ("0d22a53b-e2ef-4e0a-ab89-b2d48fb2592a" )
36
+ uu = uuidlib .UUID ("0d22a53b-e2ef-4e0a-ab89-b2d48fb2592a" )
39
37
stream = Mock (Stream )
40
38
stream .version = Mock (return_value = 11 )
41
39
stream .uuid = Mock (return_value = uu )
@@ -49,7 +47,7 @@ def stream1():
49
47
50
48
@pytest .fixture
51
49
def stream2 ():
52
- uu = uuid .UUID ("17dbe387-89ea-42b6-864b-f505cdb483f5" )
50
+ uu = uuidlib .UUID ("17dbe387-89ea-42b6-864b-f505cdb483f5" )
53
51
stream = Mock (Stream )
54
52
stream .version = Mock (return_value = 22 )
55
53
stream .uuid = Mock (return_value = uu )
@@ -63,7 +61,7 @@ def stream2():
63
61
64
62
@pytest .fixture
65
63
def stream3 ():
66
- uu = uuid .UUID ("17dbe387-89ea-42b6-864b-e2ef0d22a53b" )
64
+ uu = uuidlib .UUID ("17dbe387-89ea-42b6-864b-e2ef0d22a53b" )
67
65
stream = Mock (Stream )
68
66
stream .version = Mock (return_value = 33 )
69
67
stream .uuid = Mock (return_value = uu )
You can’t perform that action at this time.
0 commit comments