Skip to content

Commit

Permalink
Initial add of IS-14-01 test suite
Browse files Browse the repository at this point in the history
(cherry picked from commit e870bcef1052a0eaea28e54748c6ede52a6e8cce)
  • Loading branch information
jonathan-r-thorpe committed Apr 26, 2024
1 parent a5350cd commit 5ba312d
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nmostesting/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,17 @@
},
}
},
"is-14": {
"repo": "is-14",
"versions": ["v1.0"],
"default_version": "v1.0",
"apis": {
"configuration": {
"name": "Device Configuration",
"raml": "ConfigurationAPI.raml"
},
}
},
"ms-05-02": {
"repo": "ms-05-02",
"versions": ["v1.0"],
Expand Down
9 changes: 9 additions & 0 deletions nmostesting/NMOSTesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
# from .suites import IS1001Test
from .suites import IS1201Test
from .suites import IS1202Test
from .suites import IS1401Test
from .suites import BCP00301Test
from .suites import BCP0060101Test
from .suites import BCP0060102Test
Expand Down Expand Up @@ -390,6 +391,14 @@
"class": IS1202Test.IS1202Test,
"urlpath": True
},
"IS-14-01" : {
"name": "IS-14 Configuration",
"specs": [{
"spec_key": "is-14",
"api_key": "configuration"
}],
"class": IS1401Test.IS1401Test
},
"BCP-003-01": {
"name": "BCP-003-01 Secure Communication",
"specs": [{
Expand Down
33 changes: 33 additions & 0 deletions nmostesting/suites/IS1401Test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright (C) 2024 Advanced Media Workflow Association
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ..GenericTest import GenericTest

class IS1401Test(GenericTest):
"""
Runs IS-04-01-Test
"""
def __init__(self, apis, auths, **kwargs):
GenericTest.__init__(self, apis, auths=auths, **kwargs)

def set_up_tests(self):
pass

def tear_down_tests(self):
pass

def test_01(self, test):
"""First test"""

return test.UNCLEAR("Noting was tested.")

0 comments on commit 5ba312d

Please sign in to comment.