From eaa24b882401e2e74353efa78bf4e71a880cfc47 Mon Sep 17 00:00:00 2001 From: jhunpingco Date: Fri, 15 Apr 2022 11:52:04 -0700 Subject: [PATCH] fixed test_graph.py for default g.options.edges.smooth.type --- pyvis/tests/test_graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyvis/tests/test_graph.py b/pyvis/tests/test_graph.py index cdc7084..a230920 100644 --- a/pyvis/tests/test_graph.py +++ b/pyvis/tests/test_graph.py @@ -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)