forked from pool/python-mocket
86c0462991
- do not require python-mock for build - added patches fix https://github.com/mindflayer/python-mocket/issues/178 + python-mocket-no-mock.patch OBS-URL: https://build.opensuse.org/request/show/977787 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=47
13 lines
453 B
Diff
13 lines
453 B
Diff
diff -upr mocket-3.10.5.orig/tests/main/test_http.py mocket-3.10.5/tests/main/test_http.py
|
|
--- mocket-3.10.5.orig/tests/main/test_http.py 2022-05-17 15:23:49.159143686 +0200
|
|
+++ mocket-3.10.5/tests/main/test_http.py 2022-05-17 15:23:49.163143712 +0200
|
|
@@ -10,7 +10,7 @@ from urllib.error import HTTPError
|
|
from urllib.parse import urlencode
|
|
from urllib.request import urlopen
|
|
|
|
-import mock
|
|
+from unittest import mock
|
|
import pytest
|
|
import requests
|
|
|