Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
fix(composer): fix unit test and add tear down
  • Loading branch information
hanhxiao committed Jul 16, 2019
1 parent 6ec4233 commit 743ec3b06ec17f36c80e290fa2a2708e2fffba43
Showing with 4 additions and 4 deletions.
  1. +1 −1 gnes/cli/
  2. +3 −3 tests/
@@ -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'),
@@ -32,6 +32,6 @@ def _test_topology(self, yaml_path: str, num_layer_before: int, num_layer_after:

# 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):

0 comments on commit 743ec3b

Please sign in to comment.