[Checkins]
SVN: zc.sourcerelease/trunk/src/zc/sourcerelease/README.txt
Improved the test to make it a bit more robust.
Jim Fulton
jim at zope.com
Thu Oct 25 09:24:02 EDT 2007
Log message for revision 81090:
Improved the test to make it a bit more robust.
Changed:
U zc.sourcerelease/trunk/src/zc/sourcerelease/README.txt
-=-
Modified: zc.sourcerelease/trunk/src/zc/sourcerelease/README.txt
===================================================================
--- zc.sourcerelease/trunk/src/zc/sourcerelease/README.txt 2007-10-25 13:00:03 UTC (rev 81089)
+++ zc.sourcerelease/trunk/src/zc/sourcerelease/README.txt 2007-10-25 13:24:01 UTC (rev 81090)
@@ -138,8 +138,20 @@
included.)
So, now that we've extracted the source release we built, we can try
-to install it. To do this, we'll to run the installer.
+to install it. To do this, we'll to run the installer. Before we do,
+however, we'll remove the data used by the link server:
+ >>> import os
+ >>> for p in os.listdir(sample_eggs):
+ ... remove(join(sample_eggs, p))
+ >>> print get(link_server),
+ <html><body>
+ </body></html>
+
+This way, we know that when we run the source release, the
+distributions will come from the release, not from the link
+server. Now, let's run the installer:
+
>>> import sys
>>> print system(sys.executable+' '+join('test', 'sample', 'install.py')),
... # doctest: +ELLIPSIS
More information about the Checkins
mailing list