-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Move sample using appengine images to this repository, add tests. #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check whether the resize() is called once?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do
|
@tmatsuo Updated with assert. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also test the success case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to generate a webapp2(webob) Request post object with multipart form data to include the image. Do you know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you can just add an entity in datastore and call /img?img_id=123
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try it out.
|
Get image positive test case is in now. |
|
LGTM |
b110e31 to
0cd2032
Compare
|
Squashed. |
Currently here: https://github.com/GoogleCloudPlatform/appengine-images-guestbook-python
From here: https://cloud.google.com/appengine/docs/python/images/usingimages