aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/dcaegen2/prh-testcases/resources
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/tests/dcaegen2/prh-testcases/resources')
-rw-r--r--test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py b/test/csit/tests/dcaegen2/prh-testcases/resources/PrhLibrary.py
index 7ecfb8b1c..2e52d0825 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 @@ class PrhLibrary(object):
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)