Code coverage improvement test service creation w/o sync vector

add one service  only excel file + changes on compare.py to support
no synchronization vector case

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
This commit is contained in:
EstherLerouzic
2019-06-20 15:21:56 +01:00
parent f788b81d21
commit 37bd5d0404
4 changed files with 85 additions and 3 deletions

View File

@@ -150,9 +150,9 @@ def test_auto_design_generation_fromjson(json_input, expected_json_output):
assert not results.connections.different
# test services creation
@pytest.mark.parametrize('xls_input,expected_json_output', {
DATA_DIR / 'testTopology.xls': DATA_DIR / 'testTopology_services_expected.json',
DATA_DIR / 'testService.xls': DATA_DIR / 'testService_services_expected.json'
}.items())
def test_excel_service_json_generation(xls_input, expected_json_output):
""" test services creation