Skip to content
Snippets Groups Projects

Resolve "silecs_release_param currently not supported"

Merged m.nabywaniec requested to merge 59-silecs-release-param into master
2 files
+ 22
15
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -20,7 +20,8 @@ BACKUP = DESIGN_PATH + ".backup"
SILECS_DESIGN_PATH = DESIGN_PATH.split(".")[0] + ".silecsdesign"
SILECS_DEPLOY_PATH = DEPLOY_PATH.split(".")[0] + ".silecsdeploy"
RELEASE_PARAM_FILEPATH = os.path.join(RELEASE_PARAM_DIR_PATH, "SilecsTestClass", "SilecsTestClass_DU-d", "tsts7001.silecsparam")
RELEASE_PARAM_FILEPATH = os.path.join(RELEASE_PARAM_DIR_PATH, "SilecsTestClass", "SilecsTestClass_DU", "tsts7001.silecsparam")
RELEASE_PARAM_FILEPATH_DEV = os.path.join(RELEASE_PARAM_DIR_PATH, "SilecsTestClass", "SilecsTestClass_DU-d", "tsts7001.silecsparam")
design_schema_path_mock = "../silecs-model/src/xml/DesignSchema.xsd"
deploy_schema_path_mock = "../silecs-model/src/xml/DeploySchema.xsd"
@@ -38,10 +39,12 @@ class SilecsTest(unittest.TestCase):
if os.path.isfile(SILECS_DESIGN_PATH):
os.remove(SILECS_DESIGN_PATH)
if os.path.isfile(RELEASE_PARAM_FILEPATH):
shutil.rmtree(RELEASE_PARAM_DIR_PATH)
if os.path.isfile(RELEASE_PARAM_FILEPATH_DEV):
shutil.rmtree(RELEASE_PARAM_DIR_PATH_DEV)
def test_get_extension(self):
"""Test getting extension from file"""
filenames_extensions = [("test1.design", "design"), ("test2.deploy", "deploy")]
Loading