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