Skip to content

Commit dbcaa32

Browse files
committed
remove the MagicMock
1 parent cd1872f commit dbcaa32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

azure-devops/azext_devops/tests/utils/authentication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
try:
88
# Attempt to load mock (works on Python 3.3 and above)
9-
from unittest.mock import patch, MagicMock
9+
from unittest.mock import patch
1010
except ImportError:
1111
# Attempt to load mock (works on Python version below 3.3)
12-
from mock import patch, MagicMock
12+
from mock import patch
1313
from .helper import UNIT_TEST_PAT_TOKEN
1414

1515
class AuthenticatedTests(unittest.TestCase):

0 commit comments

Comments
 (0)