[Checkins] SVN: grokproject/branches/ulif-shorttests/tests_zopectl.txt Use functions for faster test runs.

Uli Fouquet uli at gnufix.de
Sat Jan 24 08:46:15 EST 2009


Log message for revision 94976:
  Use functions for faster test runs.

Changed:
  U   grokproject/branches/ulif-shorttests/tests_zopectl.txt

-=-
Modified: grokproject/branches/ulif-shorttests/tests_zopectl.txt
===================================================================
--- grokproject/branches/ulif-shorttests/tests_zopectl.txt	2009-01-24 13:45:17 UTC (rev 94975)
+++ grokproject/branches/ulif-shorttests/tests_zopectl.txt	2009-01-24 13:46:15 UTC (rev 94976)
@@ -11,12 +11,12 @@
 
 Create an empty eggs directory. So we make sure that we don't have to
 care for arbitrary eggs, that were installed in the user's environment
-before::
+before. If a file ``shorttests`` exists in this directory, we do not
+create a new dir but make only sure it exists and leave it untouched::
 
     >>> tempeggs = 'grokexample-eggs'
     >>> eggsdir = os.path.join(tempdir, tempeggs)
-    >>> rmdir(eggsdir)
-    >>> os.makedirs(eggsdir)
+    >>> maybe_mkdir(eggsdir)
 
 Then use paster. Eggs are placed in our freshly created eggs directory::
 
@@ -217,4 +217,4 @@
 
     >>> cd(tempdir)
     >>> rmdir('grokexample')
-    >>> rmdir(eggsdir)
+    >>> maybe_rmdir(eggsdir)



More information about the Checkins mailing list