Browse files

Added directory layout

  • Loading branch information...
1 parent f154393 commit 290fab7c601518a287345f1d851b5c08aed2fd6e @arowla arowla committed with anandology Apr 8, 2009
Showing with 8 additions and 1 deletion.
  1. +8 −1 cookbook/testing_with_paste_and_nose.md
View
9 cookbook/testing_with_paste_and_nose.md
@@ -29,7 +29,14 @@ This example makes use of the Paste and Nose libraries. [Paste](http://pythonpas
## Explanation
-Most of the above example should be fairly self-explanatory. From our main module, code, we import app, and then pass its wsgifunc() to Paste's TestApp. assert_equal() is provided by nose's utils, and works just like unittest's assertEqual().
+This code resides in a file called test_code.py. The directory layout of the application looks like this:
+
+ ./
+ code.py
+ ./test
+ test_code.py
+
+Most of the code example above should be fairly self-explanatory. From our main module, code, we import app, and then pass its wsgifunc() to Paste's TestApp. assert_equal() is provided by nose's utils, and works just like unittest's assertEqual().
## Setting Up the Test Environment

0 comments on commit 290fab7

Please sign in to comment.