mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-07-21 12:11:07 +02:00
rename module, add test
This commit is contained in:
10
pyqrangeslider/_tests/test_slider.py
Normal file
10
pyqrangeslider/_tests/test_slider.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import pytest
|
||||
from qtpy.QtCore import Qt
|
||||
|
||||
from pyqrangeslider import QRangeSlider
|
||||
|
||||
|
||||
@pytest.mark.parametrize("orientation", ["Horizontal", "Vertical"])
|
||||
def test_basic(qtbot, orientation):
|
||||
rs = QRangeSlider(getattr(Qt, orientation))
|
||||
qtbot.addWidget(rs)
|
Reference in New Issue
Block a user