Exemplo n.º 1
0
 def test_video_url_creator(self):
     """Test the video_url_creator function"""
     expected_list = [
         'https://youtube.com/embed/jIV_FsBKbW4',
         'https://youtube.com/embed/DkLpKaVB3IE'
     ]
     output_list = video_url_creator(sample_id_list)
     self.assertEqual(expected_list, output_list)
Exemplo n.º 2
0
 def test_video_url_creator(self):
     """Test the video_url_creator function"""
     expected_list = [
         'https://youtube.com/embed/hY7m5jjJ9mM',
         'https://youtube.com/embed/CQ85sUNBK7w'
     ]
     output_list = video_url_creator(sample_id_list)
     self.assertEqual(expected_list, output_list)