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