We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b9b97 commit 7c4a834Copy full SHA for 7c4a834
appengine/images/api/main_test.py
@@ -13,8 +13,8 @@
13
# limitations under the License.
14
15
import main
16
-import pytest
17
import mock
+import pytest
18
import webtest
19
20
@@ -30,10 +30,9 @@ def test_img(app):
30
photo = main.Photo(
31
id=234
32
)
33
- photo.title='asdf'
34
- photo.full_size_image=b'123'
+ photo.title = 'asdf'
+ photo.full_size_image = b'123'
35
photo.put()
36
- print photo.key.id()
37
38
response = app.get('/img?id=%s' % photo.key.id())
39
0 commit comments