mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-07-21 12:11:07 +02:00
11 lines
277 B
Python
11 lines
277 B
Python
import pytest
|
|
|
|
from qtrangeslider import QRangeSlider
|
|
from qtrangeslider.qtcompat.QtCore import Qt
|
|
|
|
|
|
@pytest.mark.parametrize("orientation", ["Horizontal", "Vertical"])
|
|
def test_basic(qtbot, orientation):
|
|
rs = QRangeSlider(getattr(Qt, orientation))
|
|
qtbot.addWidget(rs)
|