File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
appengine/standard_python3/bundled-services/blobstore/django Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515import json
16+ import os
1617import re
1718import subprocess
1819import uuid
2122import pytest
2223import requests
2324
25+ project_id = os .environ ["GOOGLE_CLOUD_PROJECT" ]
2426
2527@backoff .on_exception (backoff .expo , Exception , max_tries = 3 )
2628def gcloud_cli (command ):
@@ -37,7 +39,7 @@ def gcloud_cli(command):
3739
3840 Raises Exception with the stderr output of the last attempt on failure.
3941 """
40- full_command = f"gcloud { command } --quiet --format=json"
42+ full_command = f"gcloud { command } --quiet --format=json --project { project_id } "
4143 print ("Running command:" , full_command )
4244
4345 try :
@@ -89,7 +91,8 @@ def version():
8991 wait_for_app (f"https://{ version_hostname } /" )
9092 yield project_id , version_id
9193 finally :
92- gcloud_cli (f"app versions delete { version_id } " )
94+ #gcloud_cli(f"app versions delete {version_id}")
95+ pass
9396
9497
9598def test_upload_and_view (version ):
You can’t perform that action at this time.
0 commit comments