Load Dynamic Libraries and Emoji Engine on Demand (#1020)

This commit is contained in:
Chris Caron
2023-12-27 14:23:13 -05:00
committed by GitHub
parent 34a26da4f4
commit 9dcf769397
35 changed files with 1943 additions and 1064 deletions

View File

@@ -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)