Merge "Use unittest.mock instead of mock"
This commit is contained in:
commit
f90090e0fa
@ -21,8 +21,8 @@ import os
|
||||
import tempfile
|
||||
|
||||
import httmock
|
||||
import mock
|
||||
from mock import MagicMock
|
||||
from unittest import mock
|
||||
from unittest.mock import MagicMock
|
||||
import unittest
|
||||
|
||||
from refstack_client import refstack_client as rc
|
||||
|
@ -20,7 +20,7 @@ import subprocess
|
||||
import tempfile
|
||||
|
||||
import httmock
|
||||
import mock
|
||||
from unittest import mock
|
||||
import unittest
|
||||
|
||||
import refstack_client.list_parser as parser
|
||||
|
@ -4,6 +4,5 @@ flake8<3.8.0
|
||||
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
||||
stestr>=1.1.0 # Apache-2.0
|
||||
testtools>=0.9.34
|
||||
mock
|
||||
coverage
|
||||
httmock
|
||||
|
Loading…
Reference in New Issue
Block a user