X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FScripts%2Fgetnodes.py;h=9b977fb547e74698c8f39472d73b6b4a170a5629;hb=2609f582b14a3bf2e41ffd9f5167eb12eb1d3461;hp=e358fed83f17cbcdce4f72d4c9106f598099453d;hpb=de19068aaa1f3d2b415cd960106121ceb167aaa9;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Scripts/getnodes.py b/Automation/Tests/Scripts/getnodes.py index e358fed..9b977fb 100644 --- a/Automation/Tests/Scripts/getnodes.py +++ b/Automation/Tests/Scripts/getnodes.py @@ -18,6 +18,7 @@ import config import redis +import cleanup_db def add(): @@ -28,7 +29,7 @@ def add(): r = redis.Redis(host=c, port=p, db=0) - r.flushall() + cleanup_db.flush() r.set("{e2Manager},ENB:02f829:007a80", "\n\x05test1\x12\t10.0.2.15\x18\xc9+ \x01*\x10\n\x0602f829\x12\x06007a800\x01:3\b\x01\x12/\bc\x12\x0f02f829:0007ab50\x1a\x040102\"\x0602f829*\n\n\b\b\x01\x10\x01\x18\x04 \x040\x01")