Skip to content

Commit 86d6d75

Browse files
committed
Format code
1 parent fc27f73 commit 86d6d75

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

python-wrapper/tests/test_options.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import pytest
2-
31
from neo4j_viz.options import (
42
Direction,
53
ForceDirectedLayoutOptions,
@@ -9,9 +7,10 @@
97
RenderOptions,
108
)
119

10+
1211
def test_js_options_empty() -> None:
1312
options = RenderOptions()
14-
assert options.to_js_options() == {'showLayoutButton': False}
13+
assert options.to_js_options() == {"showLayoutButton": False}
1514

1615

1716
def test_js_options_layout_force_directed() -> None:

python-wrapper/tests/test_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_from_graph_data_with_options(self) -> None:
8383

8484
assert widget.width == "800px"
8585
assert widget.height == "400px"
86-
assert widget.options == {"layout": "d3Force", 'showLayoutButton': False}
86+
assert widget.options == {"layout": "d3Force", "showLayoutButton": False}
8787

8888
def test_widget_trait_defaults(self) -> None:
8989
widget = GraphWidget()

0 commit comments

Comments
 (0)