Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillatrev committed Dec 21, 2023
1 parent ea8dea8 commit cb259c9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_async_summarization.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_submit_local_file(self, mocker, mock_session, make_mock_response):
assert job.summarization.type == SummarizationFormattingOptions.BULLETS
assert job.summarization.prompt == "Try to summarize this transcript as good as you possibly can"

def test_super_api_source_url(self, mock_session, make_mock_response):
def test_submit_source_url(self, mock_session, make_mock_response):
status = 'transcribed'
created_on = '2018-05-05T23:23:22.29Z'
completed_on = '2018-05-05T23:23:22.30Z'
Expand All @@ -99,8 +99,6 @@ def test_super_api_source_url(self, mock_session, make_mock_response):
client = RevAiAPIClient(TOKEN)

job = client.submit_job_url('https://example.com/test.mp3',
metadata="python sdk SuperApi test",
delete_after_seconds=50000,
language="en",
summarization_config=SummarizationOptions(
"Try to summarize this transcript as good as you possibly can",
Expand All @@ -112,9 +110,7 @@ def test_super_api_source_url(self, mock_session, make_mock_response):
"POST",
JOBS_URL,
json={
'metadata': "python sdk SuperApi test",
'media_url': 'https://example.com/test.mp3',
'delete_after_seconds': 50000,
'language': 'en',
'summarization_config': {
'prompt': "Try to summarize this transcript as good as you possibly can",
Expand Down

0 comments on commit cb259c9

Please sign in to comment.