Added helpers to pytest tests
authorEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Sun, 17 May 2020 18:29:04 +0000 (20:29 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Sun, 17 May 2020 18:29:04 +0000 (20:29 +0200)
commitd444f6e9cab931a4364c15b86ab221e55893f975
treef1c4c31e80ce9bb5228aaab85584aec7040e1239
parente782294456d0877aa8fc05aa931291ac79808eb3
Added helpers to pytest tests

New fixture 'saveB64Artifact' which decodes base64 for some responses
and write xml (if it is xml) to file and json equivalent representation.
18 files changed:
.gitignore
example/diameter/launcher/resources/rest_api/ct/conftest.py
example/diameter/launcher/resources/rest_api/ct/helpers/__init__.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-answermsg_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-decode_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-loadmsg_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-node_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-show-oam_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-show-stats_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-test-look_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-test-summary-counts_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-test-summary-states_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/helpers/save-test-summary_test.py [new file with mode: 0644]
example/diameter/launcher/resources/rest_api/ct/pytest.ini
example/diameter/launcher/resources/rest_api/ct/requirements.txt
example/diameter/launcher/resources/rest_api/ct/resources/aaa-diameterJson-request.json
example/diameter/launcher/resources/rest_api/ct/resources/aaa.hex
example/diameter/launcher/resources/rest_api/ct/resources/aaa.xml