Пример #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'])