views:

34

answers:

1

I am trying to set up Google App Engine unit testing for my web application. I downloaded the file from here.

I followed the instructions in the readmen by copying the directory gaeunit into the directory with the rest of my apps and registering 'gaeunit' in settings.py. This didn't seem sufficient to actually get things going. I also stuck url('^test(.*)', include('gaeunit.urls')) into my urls.py file.

When I go to the url http://localhost:8000/test, I get the following error:

[Errno 2] No such file or directory: '../../gaeunit/test'

Any suggestions? I'm not sure what I've done wrong. Thanks!

A: 

According to the instructions on the main page you should add the URL to app.yaml, not urls.py.

- url: /test.*
  script: gaeunit.py
tomlog
I'm trying to set it up as a Django app, but I've tried both ways. This method returns the same error.
J. Frankenstein