File tree 15 files changed +14
-18
lines changed
15 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 13
13
# License for the specific language governing permissions and limitations
14
14
# under the License.
15
15
16
- import mock
16
+ from unittest import mock
17
17
18
18
import novaclient
19
19
from novaclient import api_versions
Original file line number Diff line number Diff line change 14
14
# under the License.
15
15
16
16
import copy
17
+ from unittest import mock
17
18
18
19
from keystoneauth1 import session
19
- import mock
20
20
from oslo_utils import uuidutils
21
21
22
22
import novaclient .api_versions
Original file line number Diff line number Diff line change 14
14
15
15
import base64
16
16
import subprocess
17
-
18
- import mock
17
+ from unittest import mock
19
18
20
19
from novaclient import crypto
21
20
from novaclient .tests .unit import utils
Original file line number Diff line number Diff line change 15
15
16
16
import imp
17
17
import inspect
18
+ from unittest import mock
18
19
19
- import mock
20
20
import pkg_resources
21
21
22
22
from novaclient import client
Original file line number Diff line number Diff line change 16
16
import io
17
17
import re
18
18
import sys
19
+ from unittest import mock
19
20
20
21
import ddt
21
22
import fixtures
22
23
from keystoneauth1 import fixture
23
- import mock
24
24
import prettytable
25
25
import requests_mock
26
26
from testtools import matchers
Original file line number Diff line number Diff line change 13
13
14
14
import io
15
15
import sys
16
+ from unittest import mock
16
17
from urllib import parse
17
18
18
- import mock
19
-
20
19
from novaclient import base
21
20
from novaclient import exceptions
22
21
from novaclient .tests .unit import fakes
Original file line number Diff line number Diff line change 12
12
# under the License.
13
13
14
14
import os
15
+ from unittest import mock
15
16
16
17
import fixtures
17
- import mock
18
18
from oslo_serialization import jsonutils
19
19
import requests
20
20
from requests_mock .contrib import fixture as requests_mock_fixture
Original file line number Diff line number Diff line change 17
17
import copy
18
18
import datetime
19
19
import re
20
+ from unittest import mock
20
21
from urllib import parse
21
22
22
- import mock
23
23
from oslo_utils import strutils
24
24
25
25
import novaclient
Original file line number Diff line number Diff line change 13
13
# License for the specific language governing permissions and limitations
14
14
# under the License.
15
15
16
- import mock
16
+ from unittest import mock
17
17
18
18
from novaclient import api_versions
19
19
from novaclient import base
Original file line number Diff line number Diff line change 11
11
# License for the specific language governing permissions and limitations
12
12
# under the License.
13
13
14
- import mock
14
+ from unittest import mock
15
15
16
16
from novaclient .tests .unit .fixture_data import client
17
17
from novaclient .tests .unit .fixture_data import images as data
Original file line number Diff line number Diff line change 16
16
import io
17
17
import os
18
18
import tempfile
19
-
20
- import mock
19
+ from unittest import mock
21
20
22
21
from novaclient import api_versions
23
22
from novaclient import exceptions
Original file line number Diff line number Diff line change 23
23
import datetime
24
24
import io
25
25
import os
26
+ from unittest import mock
26
27
27
28
import fixtures
28
- import mock
29
29
from oslo_utils import timeutils
30
30
import testtools
31
31
Original file line number Diff line number Diff line change 12
12
# License for the specific language governing permissions and limitations
13
13
# under the License.
14
14
15
- import mock
15
+ from unittest import mock
16
16
17
17
from novaclient import api_versions
18
18
from novaclient import exceptions as exc
Original file line number Diff line number Diff line change 13
13
# License for the specific language governing permissions and limitations
14
14
# under the License.
15
15
16
- import mock
16
+ from unittest import mock
17
17
18
18
from novaclient import api_versions
19
19
from novaclient .tests .unit import utils
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ bandit>=1.1.0 # Apache-2.0
7
7
coverage!=4.4,>=4.0 # Apache-2.0
8
8
ddt>=1.0.1 # MIT
9
9
fixtures>=3.0.0 # Apache-2.0/BSD
10
- mock>=2.0.0 # BSD
11
10
python-keystoneclient>=3.8.0 # Apache-2.0
12
11
python-cinderclient!=4.0.0,>=3.3.0 # Apache-2.0
13
12
python-glanceclient>=2.8.0 # Apache-2.0
You can’t perform that action at this time.
0 commit comments