Skip to content
Snippets Groups Projects

Add validation rules for silecs design deploy files

Merged m.nabywaniec requested to merge 61-validation-rules into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -78,9 +78,9 @@ class SilecsTest(unittest.TestCase):
def test_get_schema_path(self):
"""Test getting xml schema path for silecs design deploy files"""
filenames_schema_paths = [("/home/test/example/test1.silecsdesign",
design_schema_path_mock),
"/common/usr/cscofe/silecs/2.3.0/silecs-model/xml/DesignSchema.xsd"),
("/home/test/example/test2.silecsdeploy",
deploy_schema_path_mock)]
"/common/usr/cscofe/silecs/2.3.0/silecs-model/xml/DeploySchema.xsd")]
for filename, schema_path in filenames_schema_paths:
with self.subTest():
self.assertEqual(silecs.get_schema_path(filename), schema_path)
Loading