Commit 412166d1 authored by Łukasz Nowak's avatar Łukasz Nowak

fix test based showcase.

parent d67f6a9f
...@@ -6,26 +6,37 @@ Note: We are in process of preparing docs. This is only showcase. ...@@ -6,26 +6,37 @@ Note: We are in process of preparing docs. This is only showcase.
>>> write(sample_buildout, 'buildout.cfg', >>> write(sample_buildout, 'buildout.cfg',
... ''' ... '''
... [buildout] ... [buildout]
... sha-cache = http://127.0.0.1:1/ ...
... sha-dir = http://127.0.0.1:2/ ... networkcache-section = networkcache
... find-links = %(link_server)s ... find-links = %(link_server)s
... parts = eggs ... parts = eggs
... ...
... [eggs] ... [eggs]
... recipe = zc.recipe.egg:eggs ... recipe = zc.recipe.egg:eggs
... eggs = demo ==0.2 ... eggs = demo ==0.2
...
... [networkcache]
... download-cache-url = http://127.0.0.1:1/
... download-dir-url = http://127.0.0.1:1/
... upload-cache-url = http://127.0.0.1:1/
... upload-dir-url = http://127.0.0.1:1/
... ''' % globals()) ... ''' % globals())
>>> print system(buildout) >>> print system(buildout)
Networkcache enabled.
Networkcache download cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Networkcache upload cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Installing eggs. Installing eggs.
Getting distribution for 'demo==0.2'. Getting distribution for 'demo==0.2'.
Downloading demo-0.2-py2.7.egg from network cache. Downloading demo-0.2-py2.7.egg from network cache.
Fail to download from network cache demo-0.2-py2.7.egg: [Errno 111] Connection refused Failed to download from network cache demo-0.2-py2.7.egg: [Errno 111] Connection refused
Uploading http://localhost/demo-0.2-py2.7.egg into network cache.
Fail to upload file. [Errno 111] Connection refused Fail to upload file. [Errno 111] Connection refused
Got demo 0.2. Got demo 0.2.
Getting distribution for 'demoneeded'. Getting distribution for 'demoneeded'.
Downloading demoneeded-1.2c1.zip from network cache. Downloading demoneeded-1.2c1.zip from network cache.
Fail to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused Failed to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused
Uploading http://localhost/demoneeded-1.2c1.zip into network cache.
Fail to upload file. [Errno 111] Connection refused Fail to upload file. [Errno 111] Connection refused
Got demoneeded 1.2c1. Got demoneeded 1.2c1.
<BLANKLINE> <BLANKLINE>
...@@ -36,10 +47,14 @@ Note: We are in process of preparing docs. This is only showcase. ...@@ -36,10 +47,14 @@ Note: We are in process of preparing docs. This is only showcase.
... remove(sample_buildout, 'eggs', egg) ... remove(sample_buildout, 'eggs', egg)
>>> print system(buildout) >>> print system(buildout)
Networkcache enabled.
Networkcache download cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Networkcache upload cache: 'http://127.0.0.1:1/', directory 'http://127.0.0.1:1/'
Updating eggs. Updating eggs.
Getting distribution for 'demoneeded'. Getting distribution for 'demoneeded'.
Downloading demoneeded-1.2c1.zip from network cache. Downloading demoneeded-1.2c1.zip from network cache.
Fail to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused Failed to download from network cache demoneeded-1.2c1.zip: [Errno 111] Connection refused
Uploading http://localhost/demoneeded-1.2c1.zip into network cache.
Fail to upload file. [Errno 111] Connection refused Fail to upload file. [Errno 111] Connection refused
Got demoneeded 1.2c1. Got demoneeded 1.2c1.
<BLANKLINE> <BLANKLINE>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment