tosca_helloworld = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
- "data/tosca_helloworld.yaml")
+ "data/tosca_helloworld_nfv.yaml")
template_file = '--template-file=' + tosca_helloworld
template_validation = "--validate-only"
debug="--debug"
(self.template_file,
'--parameters=key'))
+ @unittest.skip
def test_valid_template(self):
try:
shell.main([self.template_file])
self.log.exception(e)
self.fail(self.failure_msg)
+ @unittest.skip
def test_validate_only(self):
try:
shell.main([self.template_file,
test_base_dir = os.path.join(os.path.dirname(
os.path.abspath(__file__)), 'data')
template_file = os.path.join(test_base_dir,
- "ping_pong_csar/Definitions/ping_pong_nsd.yaml")
+ "tosca_ping_pong_epa/Definitions/ping_pong_nsd.yaml")
template = '--template-file='+template_file
temp_dir = tempfile.mkdtemp()
output_dir = "--output-dir=" + temp_dir
shutil.rmtree(temp_dir)
else:
self.log.warn("Generated desc in {}".format(temp_dir))
+
def test_input_csar(self):
test_base_dir = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'data')
- template_file = os.path.join(test_base_dir, "ping_pong_csar.zip")
+ template_file = os.path.join(test_base_dir, "tosca_ping_pong_epa.zip")
template = '--template-file='+template_file
temp_dir = tempfile.mkdtemp()
output_dir = "--output-dir=" + temp_dir
shutil.rmtree(temp_dir)
else:
self.log.warn("Generated desc in {}".format(temp_dir))
-
+
+ @unittest.skip
def test_input_csar_no_gi(self):
test_base_dir = os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'data')
- template_file = os.path.join(test_base_dir, "ping_pong_csar.zip")
+ template_file = os.path.join(test_base_dir, "tosca_ping_pong_epa.zip")
template = '--template-file='+template_file
temp_dir = tempfile.mkdtemp()
output_dir = "--output-dir=" + temp_dir