File: skip_qtbot

package info (click to toggle)
python-pymeasure 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,608 kB
  • sloc: python: 14,641; makefile: 158
file content (16 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Michael R. Crusoe <crusoe@debian.org>
Description: Skip qtbot tests, the fixture is missing
Forwarded: not-needed
--- python-pymeasure.orig/tests/display/test_inputs.py
+++ python-pymeasure/tests/display/test_inputs.py
@@ -29,6 +29,10 @@
 from pymeasure.display.inputs import ScientificInput, BooleanInput, ListInput
 from pymeasure.experiment.parameters import BooleanParameter, ListParameter, FloatParameter
 
+@pytest.fixture
+def qtbot():
+    pytest.skip('Skipping qtbot using tests on Debian.')
+
 @pytest.mark.parametrize("default_value", [True, False])
 class TestBooleanInput:
     @pytest.mark.parametrize("value_remains_default", [True, False])