示例#1
0
 def __stage_behaviour_test(self, test_path, test, staging_tree,
                            source_stager):
     relative_staging_path = os.path.join(
         staging_tree.service_behaviour_tests_path,
         os.path.basename(test_path))
     source_stager.stage_file(
         test_path, relative_staging_path,
         behaviour_mutations.ScenarioStagingMutator(self.source_config))
示例#2
0
文件: etsi_ns_src.py 项目: IBM/lmctl
 def __stage_behaviour_runtime(self, runtime_path, runtime, staging_tree,
                               source_stager):
     relative_staging_path = os.path.join(
         staging_tree.etsi_test_runtime_scenarios_dir_path,
         os.path.basename(runtime_path))
     source_stager.stage_file(
         runtime_path, relative_staging_path,
         behaviour_mutations.ScenarioStagingMutator(self.source_config))