def test_hvals(self): h = Hash() h.hmset({'a': 'aa', 'b': 'bb', 'c': 'cc'}) self.assertItemsEqual(h.hvals(), ['aa', 'bb', 'cc'])