def test_from_riak(self): """ The JSON list is turned into a set when read. """ f = SetOf() self.assertEqual(f.from_riak([1, 2, 3]), set([1, 2, 3]))