From ceba287089c374f877a3045aece2f0d0bf653d84 Mon Sep 17 00:00:00 2001 From: "Eduardo Ramos Testillano (eramedu)" Date: Thu, 14 May 2020 19:44:23 +0200 Subject: [PATCH] Prepare basic hooks commented just in case they are used later --- .../launcher/resources/rest_api/ct/conftest.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/example/diameter/launcher/resources/rest_api/ct/conftest.py b/example/diameter/launcher/resources/rest_api/ct/conftest.py index d6ac9ef..fd4f339 100644 --- a/example/diameter/launcher/resources/rest_api/ct/conftest.py +++ b/example/diameter/launcher/resources/rest_api/ct/conftest.py @@ -35,6 +35,18 @@ CONTENT_LENGTH = 'content-length' # specially if you are thinking in use pytest and ADML Agent for system tests. FLOW_BASE_MULTIPLIER = 10000 +######### +# HOOKS # +######### +#def pytest_runtest_setup(item): +# print("pytest_runtest_setup") +#def pytest_runtest_logreport(report): +# print(f'Log Report:{report}') +#def pytest_sessionstart(session): +# print("pytest_session start") +#def pytest_sessionfinish(session): +# print("pytest_session finish") + ###################### # CLASSES & FIXTURES # ###################### -- 2.20.1