forked from pool/python-mailman-hyperkitty
- do not use python-mock for build - added patches fix https://gitlab.com/mailman/mailman-hyperkitty/-/issues/28 + python-mailman-hyperkitty-no-mock.patch OBS-URL: https://build.opensuse.org/request/show/979306 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman-hyperkitty?expand=0&rev=10
14 lines
580 B
Diff
14 lines
580 B
Diff
Index: mailman-hyperkitty-1.2.0/mailman_hyperkitty/tests/test_archiver.py
|
|
===================================================================
|
|
--- mailman-hyperkitty-1.2.0.orig/mailman_hyperkitty/tests/test_archiver.py
|
|
+++ mailman-hyperkitty-1.2.0/mailman_hyperkitty/tests/test_archiver.py
|
|
@@ -32,7 +32,7 @@ from textwrap import dedent
|
|
from unittest import TestCase
|
|
|
|
import requests
|
|
-from mock import Mock, patch
|
|
+from unittest.mock import Mock, patch
|
|
from mailman.config import config
|
|
from mailman.email.message import Message
|
|
from mailman.testing.layers import ConfigLayer
|