I'm simply trying to run lettuce against a web2py model domain. Well, 
actually, because of the DAL I'm running it against models in the modules 
folder. Problem is, this is just Python with no web2py running so Lettuce 
can't find things like gluon.dal. I used abspath to get to the web2py 
modules folder, but once I get into the web2py world Lettuce can't find 
anything. Brilliant ideas would be welcome as I think I would prefer web2py 
over Django if only I could BDD.

On Thursday, May 17, 2012 5:35:56 AM UTC-4, amit wrote:
>
> The overall setup is that I have a gae, wsgi application and I am trying 
> to include lettuce with webtest to automate the testing. 
>
> 1. I am trying to run lettuce from myapp/tests/ directory. 
> 2. myapp/tests/features directory contains the features and steps 
> description as input to lettuce. In one of these steps (TestApp 
> constructor) I need to use wsgiapp as an input as described in the webtest 
> tutorial [1]. 
>
> I am having difficulty performing both 1. and 2. 
>
> [1] http://webtest.pythonpaste.org/en/latest/index.html#testapp
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to