mirror of
https://github.com/caronc/apprise.git
synced 2025-08-19 04:47:20 +02:00
Load Dynamic Libraries and Emoji Engine on Demand (#1020)
This commit is contained in:
@@ -97,8 +97,7 @@ def setup_glib_environment():
|
||||
|
||||
# When patching something which has a side effect on the module-level code
|
||||
# of a plugin, make sure to reload it.
|
||||
current_module = sys.modules[__name__]
|
||||
reload_plugin('NotifyGnome', replace_in=current_module)
|
||||
reload_plugin('NotifyGnome')
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -345,8 +344,7 @@ def test_plugin_gnome_gi_croaks():
|
||||
|
||||
# When patching something which has a side effect on the module-level code
|
||||
# of a plugin, make sure to reload it.
|
||||
current_module = sys.modules[__name__]
|
||||
reload_plugin('NotifyGnome', replace_in=current_module)
|
||||
reload_plugin('NotifyGnome')
|
||||
|
||||
# Create instance.
|
||||
obj = apprise.Apprise.instantiate('gnome://', suppress_exceptions=False)
|
||||
|
Reference in New Issue
Block a user