aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_partitioner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_partitioner.py')
-rwxr-xr-xtests/test_partitioner.py10
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:])