Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit f469de7

Browse files
authored
Merge pull request #1114 from GoogleCloudPlatform/tasks-tests
Fix Tasks sample test issues.
2 parents dc6c009 + 63d1193 commit f469de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/appengine/flexible/tasks/main_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_index(app):
3232
def test_log_payload(logging_mock, app):
3333
payload = 'hello'
3434

35-
r = app.post('/log_payload', payload)
35+
r = app.post('/log_payload', data=payload)
3636
assert r.status_code == 200
3737

3838
assert logging_mock.called

0 commit comments

Comments
 (0)