File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- import pytest
2-
31from neo4j_viz .options import (
42 Direction ,
53 ForceDirectedLayoutOptions ,
97 RenderOptions ,
108)
119
10+
1211def 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
1716def test_js_options_layout_force_directed () -> None :
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments