Skip to content

Commit f30daaf

Browse files
- 3 failing.
1 parent d4228d0 commit f30daaf

File tree

3 files changed

+1753
-1751
lines changed

3 files changed

+1753
-1751
lines changed

test/python/flask/gcp/app.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,14 @@ def projects_testing_project_zones_australia_southeast1_a_instances():
194194
def projects_testing_project_aggregated_instances():
195195
return render_template('route_30_template.json'), 200, {'Content-Type': 'application/json'}
196196

197+
assets_counter = {'count': 0}
197198
@app.route('/v1/projects/testing-project/assets', methods=['GET'])
198199
def v1_projects_testing_project_assets():
199-
next_page_token = request.args.get('pageToken')
200+
next_page_token = request.args.get('pageToken', )
200201
if next_page_token == 'GETAROUNDPAGETWO':
201-
return render_template('route_32_template.json'), 200, {'Content-Type': 'application/json'}
202-
return render_template('route_31_template.json'), 200, {'Content-Type': 'application/json'}
202+
return render_template('route_31_template.json'), 200, {'Content-Type': 'application/json'}
203+
# Increment the call counter
204+
return render_template('route_32_template.json'), 200, {'Content-Type': 'application/json'}
203205

204206
@app.route('/projects/testing-project/global/firewalls/allow-spark-ui', methods=['PUT'])
205207
def projects_testing_project_global_firewalls_allow_spark_ui():

0 commit comments

Comments
 (0)