Juniper / py-junos-eznc

Python library for Junos automation
https://www.juniper.net/documentation/en_US/junos-pyez/information-products/pathway-pages/junos-pyez-developer-guide.html
Apache License 2.0
670 stars 344 forks source link

Updated mock to built-in unittest.mock #1311

Closed dineshbaburam91 closed 6 months ago

dineshbaburam91 commented 6 months ago

Removed a mock dependency in the PyEZ module. mock was a third-party package for Python 2.7 first, then became part of the standard library in Python 3, available as unittest.mock. So, updated unit testcases to use unittest.mock module.