Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Commit 5679574

Browse files
committed
reverted test to correct for new background correction
1 parent 8e2a1c6 commit 5679574

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_utils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ def test_GIVEN_invalid_WHEN_validating_line_edit_THEN_line_edit_turns_red():
2424
def test_GIVEN_valid_WHEN_validating_line_edit_THEN_line_edit_turns_white():
2525
line_edit = DummyLineEdit()
2626
validate_line_edit(line_edit, True)
27-
assert (
28-
"background-color: "
29-
+ ("#333333" if os.uname().sysname == "Darwin" else "#FFFFFF")
30-
in line_edit.stylesheet
31-
)
27+
assert ("background-color: #FFFFFF" in line_edit.stylesheet)
3228

3329

3430
def test_GIVEN_valid_WHEN_validating_line_edit_with_tooltip_THEN_line_edit_tooltip_is_changed():

0 commit comments

Comments
 (0)