3 from base_test import DakTestCase
5 from daklib.textutils import split_uploaders
9 class SplitUploadersTestCase(DakTestCase):
11 expected = ['"A, B" <a@b.c>', 'D E <d@e.f>']
12 l = list(split_uploaders('"A, B" <a@b.c>, D E <d@e.f>'))
13 self.assertEqual(expected, l)
14 l = list(split_uploaders('"A, B" <a@b.c> , D E <d@e.f>'))
15 self.assertEqual(expected, l)
16 l = list(split_uploaders('"A, B" <a@b.c>,D E <d@e.f>'))
17 self.assertEqual(expected, l)
18 l = list(split_uploaders('"A, B" <a@b.c> ,D E <d@e.f>'))
19 self.assertEqual(expected, l)
21 if __name__ == '__main__':