chore: clean styles

pull/247/head
mingrammer 4 years ago
parent 89d84472e6
commit 93dcef880b

@ -2,7 +2,7 @@ import os
import shutil
import unittest
from diagrams import Cluster, Diagram, Node, Edge
from diagrams import Cluster, Diagram, Edge, Node
from diagrams import getcluster, getdiagram, setcluster, setdiagram
@ -251,9 +251,7 @@ class EdgeTest(unittest.TestCase):
self.assertEqual(node << Edge(color="pink", label="3.4") >> node, node)
def test_nodes_to_node_with_attributes_bothdirectional(self):
with Diagram(
name=os.path.join(self.name, "nodes_to_node_with_attributes_bothdirectional"), show=False
) as diagram:
with Diagram(name=os.path.join(self.name, "nodes_to_node_with_attributes_bothdirectional"), show=False):
with Cluster():
node1 = Node("node1")
nodes = [Node("node2"), Node("node3")]

Loading…
Cancel
Save