pinning psycopg package in virtenv

Change-Id: I3b3a6bab63255dd9d21608de3d7077f43c191913
diff --git a/src/test/cord-api/setup_venv.sh b/src/test/cord-api/setup_venv.sh
index b0cdf98..bfc2029 100755
--- a/src/test/cord-api/setup_venv.sh
+++ b/src/test/cord-api/setup_venv.sh
@@ -32,7 +32,7 @@
 pip install --upgrade pip
 pip install cryptography==2.4.2 robotframework robotframework-requests robotframework-sshlibrary  \
     pexpect robotframework-httplibrary robotframework-kafkalibrary pygments pyyaml \
-    robotframework-databaselibrary psycopg2
+    robotframework-databaselibrary psycopg2==2.7.7
 pip install requests tinydb
 
 echo "CORD-TESTER virtualenv created. Run 'source ${VENVDIR}/bin/activate'."