Skip to content

Commit ad49a18

Browse files
committed
Update test files for improved Python dependency management
1 parent d2437be commit ad49a18

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

tests/test_bidstream_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import unittest
33
from unittest.mock import patch
44

5-
from test_utils import *
5+
from .test_utils import *
66
from uid2_client import BidstreamClient, Uid2Base64UrlCoder, DecryptionStatus, Uid2ClientFactory
77
from uid2_client.refresh_response import RefreshResponse
88

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import unittest
22
from unittest.mock import patch
33

4-
from test_utils import *
4+
from .test_utils import *
55
from uid2_client import *
66
from uid2_client.euid_client_factory import EuidClientFactory
77
from uid2_client.refresh_response import RefreshResponse

tests/test_encryption.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22

3-
from test_utils import *
3+
from .test_utils import *
44
from uid2_client import *
55

66
_master_secret = bytes([139, 37, 241, 173, 18, 92, 36, 232, 165, 168, 23, 18, 38, 195, 123, 92, 160, 136, 185, 40, 91, 173, 165, 221, 168, 16, 169, 164, 38, 139, 8, 155])

tests/test_refresh_keys_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from unittest.mock import patch, MagicMock
44

55
from uid2_client import refresh_keys_util, Uid2Response
6-
from test_utils import *
6+
from .test_utils import *
77
from uid2_client.encryption import _encrypt_gcm, _decrypt_gcm
88

99

tests/test_sharing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from unittest.mock import patch
33

44
from uid2_client import *
5-
from test_utils import *
5+
from .test_utils import *
66

77
import datetime as dt
88

tests/test_sharing_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import unittest
33
from unittest.mock import patch
44

5-
from test_utils import *
6-
from test_bidstream_client import TestBidStreamClient
7-
from test_encryption import TestEncryptionFunctions
5+
from .test_utils import *
6+
from .test_bidstream_client import TestBidStreamClient
7+
from .test_encryption import TestEncryptionFunctions
88
from uid2_client import SharingClient, DecryptionStatus, Uid2ClientFactory
99
from uid2_client.encryption_status import EncryptionStatus
1010
from uid2_client.refresh_response import RefreshResponse

0 commit comments

Comments
 (0)