removed comments
This commit is contained in:
parent
74d645adce
commit
b4ac0a17b7
|
@ -256,22 +256,12 @@ class TestYouTubeTranscriptApi(TestCase):
|
|||
)
|
||||
|
||||
def test_get_transcript__assertionerror_if_input_not_string(self):
|
||||
"""
|
||||
Raise Assertion error if not expected type
|
||||
"""
|
||||
with self.assertRaises(AssertionError):
|
||||
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):
|
||||
"""
|
||||
Raise Assertion error if not expected type
|
||||
"""
|
||||
with self.assertRaises(AssertionError):
|
||||
YouTubeTranscriptApi.get_transcripts('video_id_1')
|
||||
# YouTubeTranscriptApi.get_transcripts(['video_id_1', 'video_id_2'])
|
||||
|
||||
|
||||
|
||||
@patch('youtube_transcript_api.YouTubeTranscriptApi.get_transcript')
|
||||
def test_get_transcripts(self, mock_get_transcript):
|
||||
|
|
Loading…
Reference in New Issue