commit | 6d58832e04cad47380fe71235a6a85f6efd7199f | [log] [tgz] |
---|---|---|
author | Mariusz Wagner <mariusz.wagner@nokia.com> | Wed Jul 25 12:26:49 2018 +0200 |
committer | Mariusz Wagner <mariusz.wagner@nokia.com> | Wed Jul 25 12:26:49 2018 +0200 |
tree | 3f9cebec7ec07ee7f3efc7657aa94942fdfaf414 | |
parent | 978171e337e4297bfb777474aa41218c0521ef4e [diff] |
Added TC Added TC when AAI is not responding Issue-ID: INT-600 Change-Id: Ibc2a0608a60a4ae6dff0aac062a2c412c307e659 Signed-off-by: Mariusz Wagner <mariusz.wagner@nokia.com>
diff --git a/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py b/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py index 7ecfb8b..2e52d08 100644 --- a/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py +++ b/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py
@@ -32,6 +32,11 @@ def create_pnf_name(json_file): return _create_pnf_name(json_file) + @staticmethod + def stop_aai(): + client = docker.from_env() + container = client.containers.get('aai_simulator') + container.stop() def _create_pnf_name(json_file): json_to_python = json.loads(json_file)