Browse Source

Merge "Use unittest.mock instead of third party mock"

tags/2.0.1^0
Zuul 3 months ago
committed by Gerrit Code Review
parent
commit
314c4e7915
4 changed files with 3 additions and 4 deletions
  1. +0
    -1
      lower-constraints.txt
  2. +1
    -1
      oslo_reports/tests/test_guru_meditation_report.py
  3. +1
    -1
      oslo_reports/tests/test_openstack_generators.py
  4. +1
    -1
      oslo_reports/tests/test_views.py

+ 0
- 1
lower-constraints.txt View File

@@ -19,7 +19,6 @@ keystoneauth1==3.4.0
linecache2==1.0.0
MarkupSafe==1.0
mccabe==0.2.1
mock==2.0.0
mox3==0.20.0
msgpack-python==0.4.0
netaddr==0.7.18


+ 1
- 1
oslo_reports/tests/test_guru_meditation_report.py View File

@@ -20,11 +20,11 @@ import re
import signal
import sys
import threading
from unittest import mock

# needed to get greenthreads
import fixtures
import greenlet
import mock
from oslotest import base
import six



+ 1
- 1
oslo_reports/tests/test_openstack_generators.py View File

@@ -14,9 +14,9 @@
# under the License.

import threading
from unittest import mock

import greenlet
import mock
from oslo_config import cfg
from oslotest import base
import six


+ 1
- 1
oslo_reports/tests/test_views.py View File

@@ -13,8 +13,8 @@
# under the License.

import copy
from unittest import mock

import mock
from oslotest import base
import six



Loading…
Cancel
Save