Exemplo n.º 1
0
 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]))
Exemplo n.º 2
0
 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]))