Skip to content

Conversation

@jeffmendoza
Copy link
Contributor

Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do

@jeffmendoza
Copy link
Contributor Author

@tmatsuo Updated with assert.

Copy link
Contributor

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?

Copy link
Contributor Author

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?

Copy link
Contributor

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?

Copy link
Contributor Author

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.

@jeffmendoza
Copy link
Contributor Author

Get image positive test case is in now.

@tmatsuo
Copy link
Contributor

tmatsuo commented Jun 18, 2015

LGTM

@jeffmendoza jeffmendoza force-pushed the jlm/appengine-images branch from b110e31 to 0cd2032 Compare June 18, 2015 22:39
@jeffmendoza
Copy link
Contributor Author

Squashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants