def test_strip_blank(self): d = {'cats': 'meow', 'dogs': 'woof', 'hamsters': ' ', 'yetis': ''} expected = {'cats': 'meow', 'dogs': 'woof'} self.assertEqual(utils.strip_blank(d), expected)
def test_strip_blank(self): d = {'cats': 'meow', 'dogs': 'woof', 'hamsters': ' ', 'yetis': ''} expected = {'cats': 'meow', 'dogs': 'woof'} self.assertEqual(utils.strip_blank(d), expected)
def test_strip_blank(self): d = {"cats": "meow", "dogs": "woof", "hamsters": " ", "yetis": ""} expected = {"cats": "meow", "dogs": "woof"} self.assertEqual(utils.strip_blank(d), expected)