Skip to content

Commit

Permalink
test(samples): replace the deleted gcs file with public file (#388)
Browse files Browse the repository at this point in the history
The previous file is removed since the parent project is deleted. Changed to use publicly available file.
  • Loading branch information
rogers140 authored and telpirion committed Mar 13, 2023
1 parent 66acdf0 commit 880c569
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dialogflow/participant_management_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ def test_analyze_content_text(capsys):
out, _ = capsys.readouterr()
assert 'Display Name: {}'.format(KNOWLEDGE_BASE_DISPLAY_NAME) in out

# Create documents. Note that you should get read permission of bucket gs://ruogu/parsed_5_24/7157212.html
# via Pantheon for service account (google application credential account) from here:
# https://pantheon.corp.google.com/storage/browser/ruogu/parsed_5_24/?project=agent-assistant-demo
# Create documents.
document_management.create_document(PROJECT_ID, knowledge_base_id,
DOCUMENT_DISPLAY_NAME, 'text/html',
'ARTICLE_SUGGESTION',
'gs://ruogu/parsed_5_24/7157212.html')
'https://support.google.com/googleshopping/answer/9116497')
out, _ = capsys.readouterr()
document_id = out.split('documents/')[1].split(' - MIME Type:')[0].rstrip()

Expand Down

0 comments on commit 880c569

Please sign in to comment.