Merge "Get rid of 3rd party mock"

This commit is contained in:
Zuul 2024-04-08 13:57:25 +00:00 committed by Gerrit Code Review
commit 833a2e17a2
9 changed files with 11 additions and 18 deletions

View File

@ -12,8 +12,8 @@
import fixtures
import logging
import mock
import os
from unittest import mock
import diskimage_builder.block_device.tests.test_config as tc

View File

@ -12,7 +12,7 @@
import copy
import logging
import mock
from unittest import mock
import diskimage_builder.block_device.tests.test_config as tc

View File

@ -12,9 +12,9 @@
import fixtures
import logging
import mock
import os
import subprocess
from unittest import mock
import diskimage_builder.block_device.tests.test_base as tb

View File

@ -12,8 +12,8 @@
import functools
import logging
import mock
import os
from unittest import mock
import diskimage_builder.block_device.tests.test_config as tc

View File

@ -12,9 +12,10 @@
# License for the specific language governing permissions and limitations
# under the License.
import importlib
import mock
import os
import sys
from unittest import mock
from oslotest import base

View File

@ -14,9 +14,9 @@
import collections
import functools
import importlib
import mock
import os
import sys
from unittest import mock
from oslotest import base
from testtools.matchers import Mismatch

View File

@ -12,12 +12,13 @@
# License for the specific language governing permissions and limitations
# under the License.
import jsonschema
import mock
import os
import subprocess
import tempfile
from unittest import mock
import jsonschema
import testtools
import os
import yaml
from diskimage_builder import diskimage_builder as dib

View File

@ -1,7 +1,3 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
networkx>=2.3.0 # BSD
pbr!=2.1.0,>=2.0.0 # Apache-2.0
PyYAML>=3.12 # MIT

View File

@ -1,11 +1,6 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
pylint>=1.7.1 #GPLv2
fixtures>=3.0.0 # Apache-2.0/BSD
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
testtools>=2.2.0 # MIT