Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
python-napalm
python-napalm-no-mock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-napalm-no-mock.patch of Package python-napalm
Index: napalm-4.0.0/test/nxos/test_getters.py =================================================================== --- napalm-4.0.0.orig/test/nxos/test_getters.py +++ napalm-4.0.0/test/nxos/test_getters.py @@ -5,7 +5,7 @@ from napalm.base.test import helpers from napalm.base import models import pytest -from mock import patch +from unittest.mock import patch def mock_time(): Index: napalm-4.0.0/test/nxos_ssh/test_getters.py =================================================================== --- napalm-4.0.0.orig/test/nxos_ssh/test_getters.py +++ napalm-4.0.0/test/nxos_ssh/test_getters.py @@ -5,7 +5,7 @@ from napalm.base.test import helpers from napalm.base import models import pytest -from mock import patch +from unittest.mock import patch def mock_time(): Index: napalm-4.0.0/test/eos/test_heredoc.py =================================================================== --- napalm-4.0.0.orig/test/eos/test_heredoc.py +++ napalm-4.0.0/test/eos/test_heredoc.py @@ -1,4 +1,4 @@ -import mock +import unittest.mock as mock import pytest from textwrap import dedent
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor