We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e37eef3 commit e27b1e3Copy full SHA for e27b1e3
sdk/python/packages/flet/tests/test_icons.py
@@ -18,10 +18,10 @@ def test_cupertino_icons_random_with_weights_and_exclude():
18
"""Test random cupertino icon selection with weights and exclusion list."""
19
results = [
20
ft.CupertinoIcons.random(
21
- exclude=[ft.CupertinoIcons.CAMERA],
+ exclude=[ft.CupertinoIcons.CAMERA_CIRCLE],
22
weights={ft.CupertinoIcons.TABLE: 150},
23
)
24
for _ in range(1000)
25
]
26
- assert ft.CupertinoIcons.CAMERA not in results
+ assert ft.CupertinoIcons.CAMERA_CIRCLE not in results
27
assert ft.CupertinoIcons.TABLE in results
0 commit comments