rename module, add test

This commit is contained in:
Talley Lambert
2021-04-24 09:18:13 -04:00
parent 70b1122c4e
commit 6ff34df836
5 changed files with 11 additions and 1 deletions

View 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)

View File

@@ -5,6 +5,6 @@ so this file is currently here to support "pip install -e ."
from setuptools import setup
setup(
use_scm_version={"write_to": "qrangeslider/_version.py"},
use_scm_version={"write_to": "pyqrangeslider/_version.py"},
setup_requires=["setuptools_scm"],
)