File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
crystal_toolkit/apps/examples/tests Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -32,4 +32,4 @@ def test_bs(dash_duo: DashDuo) -> None:
32
32
# dash_duo.percy_snapshot("example_bsdos_projection_index_2")
33
33
34
34
logs = dash_duo .get_logs ()
35
- assert logs is None , f"Unexpected browser { logs = } "
35
+ assert not logs , f"Unexpected browser { logs = } "
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def test_hello_scientist(dash_duo: DashDuo):
22
22
dash_duo .percy_snapshot ("hello_scientist" )
23
23
24
24
logs = dash_duo .get_logs ()
25
- assert logs is None , f"Unexpected browser { logs = } "
25
+ assert not logs , f"Unexpected browser { logs = } "
26
26
27
27
28
28
def test_hello_structure (dash_duo : DashDuo ) -> None :
@@ -33,7 +33,7 @@ def test_hello_structure(dash_duo: DashDuo) -> None:
33
33
dash_duo .percy_snapshot ("hello_structure" )
34
34
35
35
logs = dash_duo .get_logs ()
36
- assert logs is None , f"Unexpected browser { logs = } "
36
+ assert not logs , f"Unexpected browser { logs = } "
37
37
38
38
39
39
def test_hello_structure_interactive (dash_duo : DashDuo ) -> None :
@@ -47,4 +47,4 @@ def test_hello_structure_interactive(dash_duo: DashDuo) -> None:
47
47
dash_duo .percy_snapshot ("hello_structure_interactive_on_click" )
48
48
49
49
logs = dash_duo .get_logs ()
50
- assert logs is None , f"Unexpected browser { logs = } "
50
+ assert not logs , f"Unexpected browser { logs = } "
Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ def test_diffraction(dash_duo: DashDuo) -> None:
31
31
input_nodes [0 ].send_keys (Keys .ARROW_UP )
32
32
33
33
logs = dash_duo .get_logs ()
34
- assert logs is None , f"Unexpected browser { logs = } "
34
+ assert not logs , f"Unexpected browser { logs = } "
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ def test_diffraction(dash_duo: DashDuo) -> None:
17
17
assert "dash-graph" in node .get_attribute ("class" )
18
18
19
19
logs = dash_duo .get_logs ()
20
- assert logs is None , f"Unexpected browser { logs = } "
20
+ assert not logs , f"Unexpected browser { logs = } "
Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ def test_structure(dash_duo: DashDuo) -> None:
36
36
sleep (1 )
37
37
38
38
logs = dash_duo .get_logs ()
39
- assert logs is None , f"Unexpected browser { logs = } "
39
+ assert not logs , f"Unexpected browser { logs = } "
You can’t perform that action at this time.
0 commit comments