Complete removal of dependency on the "mock" package
Remove sphinx from test-requirements.txt as the whole doc building is is fixed in this patch: https://review.opendev.org/721994 Change-Id: I7a065a0cde1344af38655c9f136526eaa2524923
This commit is contained in:
parent
a20f9add8e
commit
4eb270d886
@ -45,7 +45,6 @@ logutils==0.3.5
|
||||
Mako==1.0.7
|
||||
MarkupSafe==1.0
|
||||
mccabe==0.2.1
|
||||
mock==2.0.0
|
||||
monotonic==1.4
|
||||
mox3==0.25.0
|
||||
msgpack-python==0.5.6
|
||||
|
@ -13,7 +13,7 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
import mock
|
||||
from unittest import mock
|
||||
from webob import exc
|
||||
|
||||
from oslo_utils import uuidutils
|
||||
|
@ -14,8 +14,8 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
from unittest import mock
|
||||
|
||||
import mock
|
||||
from neutron_taas.common import constants as taas_consts
|
||||
from neutron_taas.extensions import taas as taas_ext
|
||||
from neutron_taas.extensions import vlan_filter as vlan_filter_ext
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
import copy
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from neutron_taas.services.taas.drivers.linux import sriov_nic_exceptions \
|
||||
as taas_exc
|
||||
|
@ -18,8 +18,8 @@
|
||||
#
|
||||
|
||||
import copy
|
||||
import mock
|
||||
import re
|
||||
from unittest import mock
|
||||
|
||||
from neutron_taas.common import utils as common_utils
|
||||
from neutron_taas.services.taas.drivers.linux import sriov_nic_exceptions \
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
import contextlib
|
||||
|
||||
import mock
|
||||
import testtools
|
||||
from unittest import mock
|
||||
|
||||
from neutron_lib import context
|
||||
from neutron_lib import rpc as n_rpc
|
||||
|
@ -13,8 +13,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
import mock
|
||||
import sys
|
||||
from unittest import mock
|
||||
|
||||
from neutron_taas.taas_client import tapflow
|
||||
from neutronclient import shell
|
||||
|
@ -13,8 +13,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
import mock
|
||||
import sys
|
||||
from unittest import mock
|
||||
|
||||
from neutron_taas.taas_client import tapservice
|
||||
from neutronclient import shell
|
||||
|
@ -6,8 +6,6 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
||||
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
python-subunit>=1.0.0 # Apache-2.0/BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
|
||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
|
||||
psycopg2>=2.7.5 # LGPL/ZPL
|
||||
PyMySQL>=0.7.6 # MIT License
|
||||
oslosphinx>=4.7.0 # Apache-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user