diff options
author | 2017-02-06 15:53:03 -0800 | |
---|---|---|
committer | 2017-02-06 15:53:03 -0800 | |
commit | 1d3f16e59458942b4112878d6020b6303296dcec (patch) | |
tree | 8c865d0b78f727b255f8d90c9953bc453fcc710d /tests/test_partitioner.py | |
parent | 50d396311c07d0c193d7aa956d8704dfa2b2619d (diff) |
JIRA DOMINO-21
Change-Id: I374ec211ca86c50fa22c42f3c410e0d89cbc27ef
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
Diffstat (limited to 'tests/test_partitioner.py')
-rwxr-xr-x | tests/test_partitioner.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/test_partitioner.py b/tests/test_partitioner.py index 75ec817..5634c01 100755 --- a/tests/test_partitioner.py +++ b/tests/test_partitioner.py @@ -41,11 +41,17 @@ def main(argv): node_site = label.select_site( site_map ) print node_site - file_paths = partitioner.partition_tosca("./tests/tmp/tosca",node_site,tpl) + tpl_site = {} + file_paths = partitioner.partition_tosca("./tests/tmp/tosca",node_site,tpl,tpl_site) print file_paths + + boundary_VLs, VL_sites = partitioner.return_boundarylinks(tpl_site) + print boundary_VLs + print VL_sites + except: print('Unexpected error: %s', sys.exc_info()[0]) - + raise if __name__ == "__main__": main(sys.argv[1:]) |