diff --git a/gnes/cli/parser.py b/gnes/cli/parser.py index e26b6ca8..d87fb026 100644 --- a/gnes/cli/parser.py +++ b/gnes/cli/parser.py @@ -47,7 +47,7 @@ def set_composer_parser(parser=None): parser.add_argument('--yaml_path', type=argparse.FileType('r'), help='yaml config of the service') parser.add_argument('--html_path', type=argparse.FileType('w', encoding='utf8'), - help='render the network graph in HTML with mermaid.js') + help='output path of the HTML file, will contain all possible generations') parser.add_argument('--shell_path', type=argparse.FileType('w', encoding='utf8'), help='output path of the shell-based starting script') parser.add_argument('--swarm_path', type=argparse.FileType('w', encoding='utf8'), diff --git a/tests/test_compose.py b/tests/test_compose.py index 1ab21c3c..013f2fee 100644 --- a/tests/test_compose.py +++ b/tests/test_compose.py @@ -32,6 +32,6 @@ def _test_topology(self, yaml_path: str, num_layer_before: int, num_layer_after: os.path.exists(self.html_path) print(a.build_dockerswarm(r)) - # def tearDown(self): - # if os.path.exists(self.html_path): - # os.remove(self.html_path) + def tearDown(self): + if os.path.exists(self.html_path): + os.remove(self.html_path)