Skip to content

Commit 95c696c

Browse files
Fix CSS color assertions in test_lambdas.py (#1542)
Update expected RGB values to match actual component colors: - Test case 2: Expect rgb(0, 0, 139) when 'DarkBlue' is entered - Test case 3: Use correct initial color rgb(222, 173, 227) and expect rgb(174, 173, 227) when '#AEADE3' is entered The test was failing because it had incorrect expected values that didn't match the actual component behavior. These changes ensure the test accurately validates the color-changing functionality of the event arguments documentation page. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]>
1 parent c978625 commit 95c696c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_lambdas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ def check_box_color(i, initial_color, input_color, expected_color):
3434
)
3535

3636
check_box_color(1, "rgb(245, 168, 152)", "rgb(245, 168, 152)", "rgb(245, 168, 152)")
37-
check_box_color(2, "rgb(60, 179, 113)", "DarkBlue", "rgb(60, 179, 113)")
38-
check_box_color(3, "rgb(222, 173, 227)", "#AEADE3", "rgb(222, 173, 227)")
37+
check_box_color(2, "rgb(60, 179, 113)", "DarkBlue", "rgb(0, 0, 139)")
38+
check_box_color(3, "rgb(222, 173, 227)", "#AEADE3", "rgb(174, 173, 227)")

0 commit comments

Comments
 (0)