示例#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}))