def test_parse_input_sourcses_success(self):
     pathToInput = '.\\tests\\data\\nonstandard_input_format.in'
     urlsList = GenericDownloader.parseInputSources(pathToInput, ',')
     expectedUrlsList = [
         '', ' https://i.imgur.com/Zd2ybNv.png',
         'https://i.imgur.com/SnRktzt.gifv',
         'https://i.imgur.com/mINAmnD.gifv',
         'https://i.imgur.com/slmM8rc.jpg'
     ]
     self.assertEqual(urlsList, expectedUrlsList)
 def test_parse_input_sources_invalid_input_source_parameter(self):
     with self.assertRaises(ValueError):
         GenericDownloader.parseInputSources('', ',')
 def test_parse_input_sources_not_found(self):
     pathToInvalidInput = '.\\path\\to\\not_found.in'
     with self.assertRaises(FileNotFoundError):
         GenericDownloader.parseInputSources(pathToInvalidInput, ',')