mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 23:12:51 +01:00
Added a check for gstream plugin issues on windows.
This commit is contained in:
parent
73dda4f7f8
commit
84ae11657e
1 changed files with 5 additions and 0 deletions
|
|
@ -579,6 +579,11 @@ class TestImportAllPlugins(PluginMixin):
|
|||
"""Test that a plugin is importable without an error using the
|
||||
load_plugins function."""
|
||||
|
||||
# skip gstreamer plugins on windows
|
||||
gstreamer_plugins = ["bpd", "replaygain"]
|
||||
if sys.platform == "win32" and plugin_name in gstreamer_plugins:
|
||||
pytest.xfail("GStreamer is not available on Windows: {plugin_name}")
|
||||
|
||||
caplog.set_level(logging.WARNING)
|
||||
caplog.clear()
|
||||
plugins.load_plugins([plugin_name])
|
||||
|
|
|
|||
Loading…
Reference in a new issue