File: Skip-tests-that-require-installes-glue-plugins.patch

package info (click to toggle)
glueviz 1.22.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,948 kB
  • sloc: python: 30,896; makefile: 133; sh: 8
file content (23 lines) | stat: -rw-r--r-- 694 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Ole Streicher <olebole@debian.org>
Date: Sun, 2 Mar 2025 17:14:43 +0100
Subject: Skip tests that require installes glue plugins

---
 glue/tests/test_main.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/glue/tests/test_main.py b/glue/tests/test_main.py
index 6c961d2..631bb16 100644
--- a/glue/tests/test_main.py
+++ b/glue/tests/test_main.py
@@ -4,6 +4,10 @@ from glue.main import load_plugins, list_loaded_plugins, list_available_plugins
 from glue._plugin_helpers import REQUIRED_PLUGINS
 
 
+import pytest
+pytest.skip(reason="plugins are not installed yet", allow_module_level=True)
+
+
 def test_load_plugins(capsys):
     """
     Test customisable list of plugins load