Fixed mock implementation of hgetall
authorEd Bartosh <eduard.bartosh@intel.com>
Sun, 10 Aug 2014 21:40:13 +0000 (00:40 +0300)
committerLin A Yang <lin.a.yang@intel.com>
Wed, 13 Aug 2014 04:14:04 +0000 (07:14 +0300)
commit9ce030ecd7b6479e0ee9f6e7461cee8d628707d8
tree4d44caeb62122fd4478bc0aef5f679fb7b961a98
parent93297f93f7769c19207b121443e1f04ee4ee8daf
Fixed mock implementation of hgetall

python-redis:hgetall returns empty dictionary if key doesn't exist.
This commit fixes this in mock. Previously it returned None in this
case.

Change-Id: I76f38d15d3918f0b7bbd41d9f3e1907f5e3b61db
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
tests/test_backenddb.py