Skip to content

Commit

Permalink
Fix graph tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Jul 16, 2024
1 parent 40a87ad commit 93022fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/unit/module/template/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import json
import os
import sys
from test.testlib.testcase import BaseTestCase
from unittest.mock import patch

Expand Down Expand Up @@ -60,8 +61,8 @@ def test_build_graph(self):
ElasticLoadBalancer -> MyEC2Instance [key=0, source_paths="['Properties', 'Instances', 0]", label=Ref, color=black];
}
""".split(
"\n"
)
"\n"
)

assert os.path.exists(dot)
with open(dot, "r") as file:
Expand Down

0 comments on commit 93022fb

Please sign in to comment.