Bug 559 adding encrypt/decrypt methods
Fixing pytest and unittest. Adding to devops stage test

Change-Id: Idbeaa82dec736c4a8b2d2a26bd39aeecbc49b901
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_common/dbmemory.py b/osm_common/dbmemory.py
index e37d97b..0e0c42c 100644
--- a/osm_common/dbmemory.py
+++ b/osm_common/dbmemory.py
@@ -156,6 +156,8 @@
                 return None
             self.db[table][i] = deepcopy(indata)
             return {"updated": 1}
+        except DbException:
+            raise
         except Exception as e:  # TODO refine
             raise DbException(str(e))