From 1d3f16e59458942b4112878d6020b6303296dcec Mon Sep 17 00:00:00 2001 From: Ulas Kozat Date: Mon, 6 Feb 2017 15:53:03 -0800 Subject: JIRA DOMINO-21 Change-Id: I374ec211ca86c50fa22c42f3c410e0d89cbc27ef Signed-off-by: Ulas Kozat --- tests/test_partitioner.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tests/test_partitioner.py') 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:]) -- cgit 1.2.3-korg