Ejemplo n.º 1
0
 def test_prune_nones_without(self):
     a = {'foo': 'bar'}
     self.assertEqual(a, curator.prune_nones(a))
Ejemplo n.º 2
0
 def test_prune_nones_without(self):
     a = {'foo':'bar'}
     self.assertEqual(a, curator.prune_nones(a))
Ejemplo n.º 3
0
 def test_prune_nones_with(self):
     self.assertEqual({}, curator.prune_nones({'a': None}))
Ejemplo n.º 4
0
 def test_prune_nones_with(self):
     self.assertEqual({}, curator.prune_nones({'a':None}))