X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_common%2Fdbmemory.py;fp=osm_common%2Fdbmemory.py;h=c27f846ca7065d191e76faa4d67eebb1a19abd85;hb=3054f783ac759b221233fd0a82424aa105e4ea2e;hp=cdb048285b5eccac892f849e691e798d2662e4e7;hpb=5c012612f1292b012dc12b337c611c6f3c083b18;p=osm%2Fcommon.git 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 @@ class DbMemory(DbBase): 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})