[Checkins] SVN: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.txt A few more places in tests where the env cache needs to be cleared

Ross Patterson me at rpatterson.net
Sat Jan 21 12:00:20 UTC 2012


Log message for revision 124122:
  A few more places in tests where the env cache needs to be cleared

Changed:
  U   zc.buildout/branches/env-cache/src/zc/buildout/easy_install.txt

-=-
Modified: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.txt
===================================================================
--- zc.buildout/branches/env-cache/src/zc/buildout/easy_install.txt	2012-01-21 11:44:31 UTC (rev 124121)
+++ zc.buildout/branches/env-cache/src/zc/buildout/easy_install.txt	2012-01-21 12:00:18 UTC (rev 124122)
@@ -567,6 +567,7 @@
 The function returns its previous setting.
 
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_index_cache()
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
     ...     ['hasdeps'], example_dest, index=link_server+'index/',
@@ -576,11 +577,13 @@
 function.
 
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_index_cache()
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
     ...     ['hasdeps'], example_dest, index=link_server+'index/',
     ...     links=[link_server, link_server3],
     ...	    use_dependency_links=True)
+    GET 200 /
     GET 200 /demoneeded-1.2-pyN.N.egg
 
 To return the dependency_links behavior to normal call the function again.
@@ -588,10 +591,12 @@
     >>> zc.buildout.easy_install.use_dependency_links(True)
     False
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_index_cache()
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
     ...     ['hasdeps'], example_dest, index=link_server+'index/',
     ...     links=[link_server, link_server3])
+    GET 200 /
     GET 200 /demoneeded-1.2-pyN.N.egg
 
 



More information about the checkins mailing list