Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-mwclient
demock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File demock.patch of Package python-mwclient
--- setup.py | 2 +- test/test_client.py | 2 +- test/test_listing.py | 2 +- test/test_page.py | 2 +- test/test_sleep.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup(name='mwclient', packages=['mwclient'], install_requires=['requests-oauthlib', 'six'], setup_requires=pytest_runner, - tests_require=['pytest', 'pytest-cov', 'mock', + tests_require=['pytest', 'pytest-cov', 'responses>=0.3.0', 'responses!=0.6.0'], zip_safe=True ) --- a/test/test_client.py +++ b/test/test_client.py @@ -9,7 +9,7 @@ import logging import requests import responses import pkg_resources # part of setuptools -import mock +import unittest.mock as mock import time import json from requests_oauthlib import OAuth1 --- a/test/test_listing.py +++ b/test/test_listing.py @@ -6,7 +6,7 @@ import pytest import logging import requests import responses -import mock +import unittest.mock as mock import json import mwclient from mwclient.listing import List, GeneratorList --- a/test/test_page.py +++ b/test/test_page.py @@ -6,7 +6,7 @@ import pytest import logging import requests import responses -import mock +import unittest.mock as mock import json import mwclient from mwclient.page import Page --- a/test/test_sleep.py +++ b/test/test_sleep.py @@ -2,7 +2,7 @@ from __future__ import print_function import unittest import time -import mock +import unittest.mock as mock import pytest from mwclient.sleep import Sleepers from mwclient.sleep import Sleeper
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor