Add a test with long propagation

Existing tests only cover short distances, and effect on accumulated
noise, especially when crossing ROADMs with equalization, are not well
reported on elements power prints.
With this long path, I can catch more printing inconsistencies.

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I2d0e8ccbbd387a2cd6c645c07f4b5f75e4617c30
This commit is contained in:
EstherLerouzic
2021-08-11 14:57:27 +02:00
parent 18610fb7a9
commit cb85b8fe2b
3 changed files with 1225 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ SRC_ROOT = Path(__file__).parent.parent
['-e', 'gnpy/example-data/eqpt_config_openroadm_ver4.json', 'gnpy/example-data/Sweden_OpenROADMv4_example_network.json', ]),
('openroadm-v5-Stockholm-Gothenburg', transmission_main_example,
['-e', 'gnpy/example-data/eqpt_config_openroadm_ver5.json', 'gnpy/example-data/Sweden_OpenROADMv5_example_network.json', ]),
('transmission_main_example_long', transmission_main_example,
['-e', 'tests/data/eqpt_config.json', 'tests/data/test_long_network.json'])
))
def test_example_invocation(capfd, output, handler, args):
'''Make sure that our examples produce useful output'''