Re: [google-appengine] Testbed unit tests for blobstore file upload API

2015-03-05 Thread Baire Adams
Alex, Thanks for your response to Remko! I am facing a similar issue as Remko. I happily came across your post and followed the link to stackoverflow. When researching a bit more, it seems the blobstore file API is being deprecated... Is there no better (read long term) way of doing this tha

Re: [google-appengine] Testbed unit tests for blobstore file upload API

2015-03-04 Thread 'Alex Martelli' via Google App Engine
Hi Remko, technical questions like yours are better sent to Stack Overflow -- the groups are for discussions that would not be welcome on stackoverflow.com per their FAQ. In this case you're probably able to use the solution already posted at http://stackoverflow.com/questions/8130063/test-functi

[google-appengine] Testbed unit tests for blobstore file upload API

2015-03-04 Thread remko
Hi, I'm trying to write a unit test for file uploads in my (Python) API. I'm using the using the blobstore API to create an upload URL, as follows: self.response.write(blobstore.create_upload_url()) Everything works fine in production, but when using Testbed, I get the following URL bac