fixing imports to get ready for module distribution.
fixing errors detected with flake8
Change-Id: Ib99df43fd5f86ccbb3e35111972a2075e7a956dd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_common/dbmemory.py b/osm_common/dbmemory.py
index cdb0482..c27f846 100644
--- a/osm_common/dbmemory.py
+++ b/osm_common/dbmemory.py
@@ -1,5 +1,5 @@
import logging
-from dbbase import DbException, DbBase
+from osm_common.dbbase import DbException, DbBase
from http import HTTPStatus
from uuid import uuid4
from copy import deepcopy
@@ -114,7 +114,7 @@
if __name__ == '__main__':
# some test code
- db = dbmemory()
+ db = DbMemory()
db.create("test", {"_id": 1, "data": 1})
db.create("test", {"_id": 2, "data": 2})
db.create("test", {"_id": 3, "data": 3})