X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Ftransportpce_tests%2F2.2.1%2Ftest08_otn_sh_renderer.py;h=87e459063bf348a1e12603979a015c23fb264e87;hb=b5ee86a522ce3cf5c6216f10647edb08b31c72e9;hp=dbfbec5f631fd802a0b68967132602f82b2b3dba;hpb=53b009d500687374e012405b1dd4b891e3ad30be;p=transportpce.git diff --git a/tests/transportpce_tests/2.2.1/test08_otn_sh_renderer.py b/tests/transportpce_tests/2.2.1/test08_otn_sh_renderer.py index dbfbec5f6..87e459063 100644 --- a/tests/transportpce_tests/2.2.1/test08_otn_sh_renderer.py +++ b/tests/transportpce_tests/2.2.1/test08_otn_sh_renderer.py @@ -15,8 +15,11 @@ import unittest import time import requests +# pylint: disable=wrong-import-order import sys sys.path.append('transportpce_tests/common/') +# pylint: disable=wrong-import-position +# pylint: disable=import-error import test_utils # nopep8 @@ -204,10 +207,10 @@ class TransportPCEtesting(unittest.TestCase): 'type': 'org-openroadm-interfaces:otnOtu', 'supporting-port': 'CP1-CFP0-P1' } - input_dict_2 = {'tx-dapi': 'fuYZwEO660g=', - 'expected-sapi': 'fuYZwEO660g=', - 'tx-sapi': 'Swfw02qXGyI=', - 'expected-dapi': 'Swfw02qXGyI=', + input_dict_2 = {'tx-dapi': 'AMf1n5hK6Xkk', + 'expected-sapi': 'AMf1n5hK6Xkk', + 'tx-sapi': 'H/OelLynehI=', + 'expected-dapi': 'H/OelLynehI=', 'rate': 'org-openroadm-otn-common-types:OTU4', 'fec': 'scfec' } @@ -247,10 +250,10 @@ class TransportPCEtesting(unittest.TestCase): 'type': 'org-openroadm-interfaces:otnOtu', 'supporting-port': 'CP1-CFP0-P1' } - input_dict_2 = {'tx-dapi': 'Swfw02qXGyI=', - 'expected-sapi': 'Swfw02qXGyI=', - 'tx-sapi': 'fuYZwEO660g=', - 'expected-dapi': 'fuYZwEO660g=', + input_dict_2 = {'tx-dapi': 'H/OelLynehI=', + 'expected-sapi': 'H/OelLynehI=', + 'tx-sapi': 'AMf1n5hK6Xkk', + 'expected-dapi': 'AMf1n5hK6Xkk', 'rate': 'org-openroadm-otn-common-types:OTU4', 'fec': 'scfec' } @@ -381,10 +384,10 @@ class TransportPCEtesting(unittest.TestCase): # SAPI/DAPI are added in the Otu4 renderer input_dict_2 = {'odu-function': 'org-openroadm-otn-common-types:ODU-TTP', 'rate': 'org-openroadm-otn-common-types:ODU4', - 'expected-dapi': 'Swfw02qXGyI=', - 'expected-sapi': 'fuYZwEO660g=', - 'tx-dapi': 'fuYZwEO660g=', - 'tx-sapi': 'Swfw02qXGyI='} + 'expected-dapi': 'H/OelLynehI=', + 'expected-sapi': 'AMf1n5hK6Xkk', + 'tx-dapi': 'AMf1n5hK6Xkk', + 'tx-sapi': 'H/OelLynehI='} self.assertDictEqual(dict(input_dict_1, **res['interface'][0]), res['interface'][0]) @@ -409,10 +412,10 @@ class TransportPCEtesting(unittest.TestCase): # SAPI/DAPI are added in the Otu4 renderer input_dict_2 = {'odu-function': 'org-openroadm-otn-common-types:ODU-TTP', 'rate': 'org-openroadm-otn-common-types:ODU4', - 'tx-sapi': 'fuYZwEO660g=', - 'tx-dapi': 'Swfw02qXGyI=', - 'expected-sapi': 'Swfw02qXGyI=', - 'expected-dapi': 'fuYZwEO660g=' + 'tx-sapi': 'AMf1n5hK6Xkk', + 'tx-dapi': 'H/OelLynehI=', + 'expected-sapi': 'H/OelLynehI=', + 'expected-dapi': 'AMf1n5hK6Xkk' } self.assertDictEqual(dict(input_dict_1, **res['interface'][0]), res['interface'][0])