def test_hmget(self): h = Hash() h.hmset({'a': 'aa', 'b': 'bb', 'c': 'cc'}) self.assertEqual(h.hmget(['c', 'b']), ['cc', 'bb'])