Thanks again.
I add "print os.getcwd()" inside* app.py* and *app_test.py(the nosetests
script) *and find they are different.
In app.py, the working dir is the whole directory including all
subdirectories, but in app_test.py the working dir is the tests directory
only.
I guess it's due to the work
李龑 wrote:
Thanks Steven.
Sorry for trying to discuss nose or templates here :(
No need to be sorry, it isn't forbidden, but you may have more success
asking help elsewhere.
Do you actually have a template called "hello_form"? If not, then my *guess*
is that this is an *error* (even though
Thanks Steven.
Sorry for trying to discuss nose or templates here :(
Do you actually have a template called "hello_form"? If not, then my *guess*
> is that this is an *error* (even though it prints F) because you don't
> actually have a template called hello_form.
Yes, I have this template, and
李龑 wrote:
Hi all,
I'm new in python and is learning about testing my little web.py app with
nosetests.
When the app is running in the web browser, it's ok. And the terminal
returns something like "127.0.0.1:51936 - - [08/Aug/2011 23:00:37] "HTTP/1.1
GET /hello" - 200 OK"
But when I'm trying to
Hi all,
I'm new in python and is learning about testing my little web.py app with
nosetests.
When the app is running in the web browser, it's ok. And the terminal
returns something like "127.0.0.1:51936 - - [08/Aug/2011 23:00:37] "HTTP/1.1
GET /hello" - 200 OK"
But when I'm trying to test the ap