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