Skip to content

Commit

Permalink
is0401: don't check audio grain_rate due to lack of docs (#521)
Browse files Browse the repository at this point in the history
* is0401: don't check audio grain_rate due to lack of docs

* is0401: remove audio from test_24_01
  • Loading branch information
andrewbonney committed Mar 23, 2020
1 parent dc77b3d commit 63d4ceb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nmostesting/suites/IS0401Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,6 @@ def test_24(self, test):
for resource in response.json():
# Currently testing where it would be particularly unusual to find a non-periodic Source
if resource["format"] in ["urn:x-nmos:format:video",
"urn:x-nmos:format:audio",
"urn:x-nmos:format:mux"]:
if "grain_rate" not in resource:
return test.WARNING("Source {} MUST specify a 'grain_rate' if it is periodic"
Expand Down Expand Up @@ -1452,7 +1451,6 @@ def test_24_01(self, test):
return test.FAIL("Flow {} 'grain_rate' MUST be integer divisible by the Source "
"'grain_rate'".format(flow["id"]))
elif flow["format"] in ["urn:x-nmos:format:video",
"urn:x-nmos:format:audio",
"urn:x-nmos:format:mux"]:
return test.WARNING("Flow {} SHOULD specify a 'grain_rate' if it is periodic"
.format(flow["id"]))
Expand Down

0 comments on commit 63d4ceb

Please sign in to comment.