forked from pool/python-lml
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
|
Index: lml-0.1.0/tests/test_plugin_loader.py
|
||
|
===================================================================
|
||
|
--- lml-0.1.0.orig/tests/test_plugin_loader.py 2020-10-21 15:43:35.000000000 +0200
|
||
|
+++ lml-0.1.0/tests/test_plugin_loader.py 2022-03-23 12:11:13.572130494 +0100
|
||
|
@@ -1,4 +1,4 @@
|
||
|
-from mock import patch
|
||
|
+from unittest.mock import patch
|
||
|
|
||
|
|
||
|
@patch("pkgutil.get_importer")
|
||
|
Index: lml-0.1.0/tests/test_plugin_manager.py
|
||
|
===================================================================
|
||
|
--- lml-0.1.0.orig/tests/test_plugin_manager.py 2020-10-21 15:43:35.000000000 +0200
|
||
|
+++ lml-0.1.0/tests/test_plugin_manager.py 2022-03-23 12:11:45.524320687 +0100
|
||
|
@@ -6,7 +6,7 @@ from lml.plugin import (
|
||
|
_show_me_your_name,
|
||
|
)
|
||
|
|
||
|
-from mock import patch
|
||
|
+from unittest.mock import patch
|
||
|
from pytest import raises
|
||
|
|
||
|
|
||
|
Index: lml-0.1.0/tests/test_utils.py
|
||
|
===================================================================
|
||
|
--- lml-0.1.0.orig/tests/test_utils.py 2020-10-21 15:43:35.000000000 +0200
|
||
|
+++ lml-0.1.0/tests/test_utils.py 2022-03-23 12:12:00.560410186 +0100
|
||
|
@@ -1,7 +1,7 @@
|
||
|
from lml.utils import do_import, json_dumps
|
||
|
from lml.plugin import PluginManager
|
||
|
|
||
|
-from mock import patch
|
||
|
+from unittest.mock import patch
|
||
|
from pytest import raises
|
||
|
|
||
|
|