示例#1
0
 def test_set(self):
     self.assertEqual(ldif3.lower(set(['FOo'])), ['foo'])
示例#2
0
 def test_falsy(self):
     self.assertEqual(ldif3.lower(None), [])
示例#3
0
 def test_dict(self):
     self.assertEqual(ldif3.lower({'Foo': 'bar'}), ['foo'])
示例#4
0
 def test_happy(self):
     self.assertEqual(ldif3.lower(['ASD', 'HuHu']), ['asd', 'huhu'])
示例#5
0
 def test_set(self):
     self.assertEqual(ldif3.lower(set(['FOo'])), ['foo'])
示例#6
0
 def test_dict(self):
     self.assertEqual(ldif3.lower({'Foo': 'bar'}), ['foo'])
示例#7
0
 def test_falsy(self):
     self.assertEqual(ldif3.lower(None), [])
示例#8
0
 def test_happy(self):
     self.assertEqual(ldif3.lower(['ASD', 'HuHu']), ['asd', 'huhu'])