removed comments

This commit is contained in:
Maja 2022-06-01 12:13:52 -04:00
parent 74d645adce
commit b4ac0a17b7
1 changed files with 0 additions and 10 deletions

View File

@ -256,22 +256,12 @@ class TestYouTubeTranscriptApi(TestCase):
) )
def test_get_transcript__assertionerror_if_input_not_string(self): def test_get_transcript__assertionerror_if_input_not_string(self):
"""
Raise Assertion error if not expected type
"""
with self.assertRaises(AssertionError): with self.assertRaises(AssertionError):
YouTubeTranscriptApi.get_transcript(['video_id_1', 'video_id_2']) YouTubeTranscriptApi.get_transcript(['video_id_1', 'video_id_2'])
# YouTubeTranscriptApi.get_transcripts(['video_id_1', 'video_id_2'])
def test_get_transcripts__assertionerror_if_input_not_list(self): def test_get_transcripts__assertionerror_if_input_not_list(self):
"""
Raise Assertion error if not expected type
"""
with self.assertRaises(AssertionError): with self.assertRaises(AssertionError):
YouTubeTranscriptApi.get_transcripts('video_id_1') YouTubeTranscriptApi.get_transcripts('video_id_1')
# YouTubeTranscriptApi.get_transcripts(['video_id_1', 'video_id_2'])
@patch('youtube_transcript_api.YouTubeTranscriptApi.get_transcript') @patch('youtube_transcript_api.YouTubeTranscriptApi.get_transcript')
def test_get_transcripts(self, mock_get_transcript): def test_get_transcripts(self, mock_get_transcript):