Bug 2357 Fixed: Session expiry while deleting non-session Project-Role
Change-Id: Ifc14e2e5c6cc167cbbca02e2dc9bc6dc16d649ae
Signed-off-by: Adurti <adurti.v@tataelxsi.co.in>
diff --git a/osm_nbi/tests/test_admin_topics.py b/osm_nbi/tests/test_admin_topics.py
index 2ecdbf7..101604c 100755
--- a/osm_nbi/tests/test_admin_topics.py
+++ b/osm_nbi/tests/test_admin_topics.py
@@ -926,6 +926,12 @@
uid = str(uuid4())
pid1 = str(uuid4())
rid1 = str(uuid4())
+ test_project = {
+ "_id": test_pid,
+ "name": "test",
+ "_admin": {"created": now, "modified": now},
+ }
+ self.db.create("projects", test_project)
self.fake_session["user_id"] = uid
self.fake_session["admin_show"] = True
prms = [