Skip to content

Commit

Permalink
Fix a couple more small test issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Nov 21, 2024
1 parent c423af7 commit bb8c6ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glue_ar/qt/tests/test_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def test_widgets_for_property(self):
assert isinstance(label, QLabel)
assert label.text() == "Float CB:"
assert isinstance(slider, QSlider)
assert slider.value() == 70
assert slider.value() == 69 # Another value -> index thing (see above comment)
assert isinstance(value_label, QLabel)
assert value_label.text() == "0.7"
assert value_label.text() == "0.70"

bool_widgets = self.dialog._widgets_for_property(state, "cb_bool", "Bool CB")
assert len(bool_widgets) == 1
Expand Down

0 comments on commit bb8c6ff

Please sign in to comment.