Skip to content

Commit 2b08431

Browse files
committed
Fixed build issues
1 parent f4745b4 commit 2b08431

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/sonic-py-common/tests/test_security_cipher.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
import sys
2+
3+
if sys.version_info.major == 3:
4+
from unittest import mock
5+
else:
6+
import mock
7+
18
from sonic_py_common.security_cipher import security_cipher
2-
from .mock_swsscommon import ConfigDBConnector
9+
from .mock_swsscommon import ConfigDBConnector
310

411

512
class TestSecurityCipher(object):

0 commit comments

Comments
 (0)