google-code-export / gaeunit

Automatically exported from code.google.com/p/gaeunit
0 stars 0 forks source link

taskqueue needs to be in list of preserved stubs #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to run a unit test for code that queues a task

What is the expected output? What do you see instead?

I expect the test to run.  Instead, I get an error: No api proxy found for 
service "taskqueue"

What version of the product are you using? On what operating system?

1.2.8, Mac OSX

Please provide any additional information below.

I fixed it by changing _run_test_suite (line 293 in gaeunit.py) from
   for name in ['user', 'urlfetch', 'mail', 'memcache', 'images']:
to
   for name in ['user', 'urlfetch', 'mail', 'memcache', 'images', 'taskqueue']: 

But someone else might be able to use the fix.

Original issue reported on code.google.com by aegis....@gmail.com on 10 Mar 2010 at 8:54