[Checkins] SVN: zc.buildout/branches/env-cache/src/zc/buildout/easy_install.txt Now that we cache dists, some tests that weren't affected by index

Ross Patterson me at rpatterson.net
Sun Jan 29 05:23:54 UTC 2012


Log message for revision 124236:
  Now that we cache dists, some tests that weren't affected by index
  caching still need the dist cache to be updated.  All easy_install.txt
  tests passing now.

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-29 05:23:44 UTC (rev 124235)
+++ zc.buildout/branches/env-cache/src/zc/buildout/easy_install.txt	2012-01-29 05:23:54 UTC (rev 124236)
@@ -529,6 +529,7 @@
 the dependencies.
 
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_dists(example_dest)
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
     ...     ['hasdeps'], example_dest, index=link_server+'index/',
@@ -546,6 +547,7 @@
 to zc.buildout.easy_install.install().
 
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_dists(example_dest)
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
     ...     ['hasdeps'], example_dest, index=link_server+'index/',
@@ -567,6 +569,7 @@
 The function returns its previous setting.
 
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_dists(example_dest)
     >>> zc.buildout.easy_install.clear_index_cache()
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
@@ -577,6 +580,7 @@
 function.
 
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_dists(example_dest)
     >>> zc.buildout.easy_install.clear_index_cache()
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
@@ -591,6 +595,7 @@
     >>> zc.buildout.easy_install.use_dependency_links(True)
     False
     >>> rmdir(example_dest)
+    >>> zc.buildout.easy_install.clear_dists(example_dest)
     >>> zc.buildout.easy_install.clear_index_cache()
     >>> example_dest = tmpdir('example-install')
     >>> workingset = zc.buildout.easy_install.install(
@@ -1346,6 +1351,7 @@
     >>> create_sample_namespace_eggs(namespace_eggs)
 
     >>> reset_interpreter()
+    >>> ws = zc.buildout.easy_install.clear_index_cache()
     >>> ws = zc.buildout.easy_install.install(
     ...     ['demo', 'tellmy.fortune'], join(interpreter_dir, 'eggs'),
     ...     links=[link_server, namespace_eggs], index=link_server+'index/')
@@ -1853,6 +1859,7 @@
 We'll recreate our destination directory:
 
     >>> remove(dest)
+    >>> zc.buildout.easy_install.clear_dists(dest)
     >>> zc.buildout.easy_install.clear_index_cache()
     >>> dest = tmpdir('sample-install')
 
@@ -1904,6 +1911,7 @@
 Let's recreate our destination directory and clear the index cache:
 
     >>> remove(dest)
+    >>> zc.buildout.easy_install.clear_dists(dest)
     >>> zc.buildout.easy_install.clear_index_cache()
     >>> dest = tmpdir('sample-install')
     >>> zc.buildout.easy_install.clear_index_cache()
@@ -1976,6 +1984,7 @@
 
     >>> zc.buildout.easy_install.clear_index_cache()
     >>> remove(dest)
+    >>> zc.buildout.easy_install.clear_dists(dest)
     >>> dest = tmpdir('sample-install')
 
     >>> ws = zc.buildout.easy_install.install(



More information about the checkins mailing list