Skip to content

Commit

Permalink
fixed test_graph.py for default g.options.edges.smooth.type
Browse files Browse the repository at this point in the history
  • Loading branch information
jhunpingco committed Apr 15, 2022
1 parent 6438912 commit eaa24b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyvis/tests/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ def setUp(self):
self.g.add_nodes([0, 1, 2, 3])

def test_set_edge_smooth(self):
self.assertEqual(self.g.options.edges.smooth.type, 'continuous')
self.g.set_edge_smooth('dynamic')
self.assertEqual(self.g.options.edges.smooth.type, 'dynamic')
self.g.set_edge_smooth('continuous')
self.assertEqual(self.g.options.edges.smooth.type, 'continuous')

def test_inherit_colors(self):
self.assertTrue(self.g.options.edges.color.inherit)
Expand Down

0 comments on commit eaa24b8

Please sign in to comment.