[Checkins] SVN: z3c.testsetup/branches/new_markers/src/z3c/testsetup/tests/othercave/doctest05.txt Add a doctests example with custom setup/teardown methods.
Uli Fouquet
uli at gnufix.de
Wed Sep 3 07:46:44 EDT 2008
Log message for revision 90752:
Add a doctests example with custom setup/teardown methods.
Changed:
A z3c.testsetup/branches/new_markers/src/z3c/testsetup/tests/othercave/doctest05.txt
-=-
Added: z3c.testsetup/branches/new_markers/src/z3c/testsetup/tests/othercave/doctest05.txt
===================================================================
--- z3c.testsetup/branches/new_markers/src/z3c/testsetup/tests/othercave/doctest05.txt (rev 0)
+++ z3c.testsetup/branches/new_markers/src/z3c/testsetup/tests/othercave/doctest05.txt 2008-09-03 11:46:43 UTC (rev 90752)
@@ -0,0 +1,9 @@
+A doctest with custom setup/teardown functions
+==============================================
+
+:doctest:
+:setup: z3c.testsetup.tests.othercave.testing.setUp
+:teardown: z3c.testsetup.tests.othercave.testing.tearDown
+
+ >>> 1+1
+ 2
More information about the Checkins
mailing list