Commit eb0f1c53 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix tests by following renaming.

parent 0de7725a
...@@ -62,7 +62,7 @@ Develop: '/sample-buildout/recipes' ...@@ -62,7 +62,7 @@ Develop: '/sample-buildout/recipes'
... """ ... """
... [buildout] ... [buildout]
... develop = recipes ... develop = recipes
... extensions = slapos.tool.rebootstrap ... extensions = slapos.rebootstrap
... ...
... parts = ... parts =
... realrun ... realrun
...@@ -80,12 +80,12 @@ Develop: '/sample-buildout/recipes' ...@@ -80,12 +80,12 @@ Develop: '/sample-buildout/recipes'
... recipe = recipes:pyshow ... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable)) ... """ % dict(syspython=sys.executable))
>>> print system(buildout), >>> print system(buildout),
slapos.tool.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts' slapos.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts'
slapos.tool.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg']. slapos.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg'].
Creating directory '/sample-buildout/rebootstrap.1.parts'. Creating directory '/sample-buildout/rebootstrap.1.parts'.
Develop: '/sample-buildout/recipes' Develop: '/sample-buildout/recipes'
Installing installpython. Installing installpython.
slapos.tool.rebootstrap: slapos.rebootstrap:
************ REBOOTSTRAP: IMPORTANT NOTICE ************ ************ REBOOTSTRAP: IMPORTANT NOTICE ************
bin/buildout is being reinstalled right now, as new python: bin/buildout is being reinstalled right now, as new python:
/sample_buildout/rebootstrap.1.parts/installpython/bin/installpython /sample_buildout/rebootstrap.1.parts/installpython/bin/installpython
......
...@@ -68,7 +68,7 @@ Develop: '/sample-buildout/recipes' ...@@ -68,7 +68,7 @@ Develop: '/sample-buildout/recipes'
... """ ... """
... [buildout] ... [buildout]
... develop = recipes ... develop = recipes
... extensions = slapos.tool.rebootstrap recipes ... extensions = slapos.rebootstrap recipes
... ...
... parts = ... parts =
... realrun ... realrun
...@@ -86,13 +86,13 @@ Develop: '/sample-buildout/recipes' ...@@ -86,13 +86,13 @@ Develop: '/sample-buildout/recipes'
... recipe = recipes:pyshow ... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable)) ... """ % dict(syspython=sys.executable))
>>> print system(buildout), >>> print system(buildout),
slapos.tool.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts' slapos.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts'
slapos.tool.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=recipes', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg']. slapos.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=recipes', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg'].
Special extension run Special extension run
Creating directory '/sample-buildout/rebootstrap.1.parts'. Creating directory '/sample-buildout/rebootstrap.1.parts'.
Develop: '/sample-buildout/recipes' Develop: '/sample-buildout/recipes'
Installing installpython. Installing installpython.
slapos.tool.rebootstrap: slapos.rebootstrap:
************ REBOOTSTRAP: IMPORTANT NOTICE ************ ************ REBOOTSTRAP: IMPORTANT NOTICE ************
bin/buildout is being reinstalled right now, as new python: bin/buildout is being reinstalled right now, as new python:
/sample_buildout/rebootstrap.1.parts/installpython/bin/installpython /sample_buildout/rebootstrap.1.parts/installpython/bin/installpython
......
...@@ -62,7 +62,7 @@ Develop: '/sample-buildout/recipes' ...@@ -62,7 +62,7 @@ Develop: '/sample-buildout/recipes'
... """ ... """
... [buildout] ... [buildout]
... develop = recipes ... develop = recipes
... extensions = slapos.tool.rebootstrap ... extensions = slapos.rebootstrap
... ...
... parts = ... parts =
... realrun ... realrun
...@@ -82,11 +82,11 @@ Develop: '/sample-buildout/recipes' ...@@ -82,11 +82,11 @@ Develop: '/sample-buildout/recipes'
>>> import os >>> import os
>>> os.mkdir('rebootstrap.1.parts') >>> os.mkdir('rebootstrap.1.parts')
>>> print system(buildout), >>> print system(buildout),
slapos.tool.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts' slapos.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts'
slapos.tool.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg']. slapos.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg'].
Develop: '/sample-buildout/recipes' Develop: '/sample-buildout/recipes'
Installing installpython. Installing installpython.
slapos.tool.rebootstrap: slapos.rebootstrap:
************ REBOOTSTRAP: IMPORTANT NOTICE ************ ************ REBOOTSTRAP: IMPORTANT NOTICE ************
bin/buildout is being reinstalled right now, as new python: bin/buildout is being reinstalled right now, as new python:
/sample_buildout/rebootstrap.1.parts/installpython/bin/installpython /sample_buildout/rebootstrap.1.parts/installpython/bin/installpython
......
...@@ -23,7 +23,7 @@ import zc.buildout.tests ...@@ -23,7 +23,7 @@ import zc.buildout.tests
def setUp(test): def setUp(test):
zc.buildout.testing.buildoutSetUp(test) zc.buildout.testing.buildoutSetUp(test)
zc.buildout.testing.install_develop('slapos.tool.rebootstrap', test) zc.buildout.testing.install_develop('slapos.rebootstrap', test)
def test_suite(): def test_suite():
# Note: Doctests are used, as this is the good way to test zc.buildout based # Note: Doctests are used, as this is the good way to test zc.buildout based
......
...@@ -62,7 +62,7 @@ Develop: '/sample-buildout/recipes' ...@@ -62,7 +62,7 @@ Develop: '/sample-buildout/recipes'
... """ ... """
... [buildout] ... [buildout]
... develop = recipes ... develop = recipes
... extensions = slapos.tool.rebootstrap ... extensions = slapos.rebootstrap
... ...
... parts = ... parts =
... realrun ... realrun
...@@ -80,12 +80,12 @@ Develop: '/sample-buildout/recipes' ...@@ -80,12 +80,12 @@ Develop: '/sample-buildout/recipes'
... recipe = recipes:pyshow ... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable)) ... """ % dict(syspython=sys.executable))
>>> print system(buildout), >>> print system(buildout),
slapos.tool.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts' slapos.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.1.parts'
slapos.tool.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg']. slapos.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg'].
Creating directory '/sample-buildout/rebootstrap.1.parts'. Creating directory '/sample-buildout/rebootstrap.1.parts'.
Develop: '/sample-buildout/recipes' Develop: '/sample-buildout/recipes'
Installing installpython. Installing installpython.
slapos.tool.rebootstrap: slapos.rebootstrap:
************ REBOOTSTRAP: IMPORTANT NOTICE ************ ************ REBOOTSTRAP: IMPORTANT NOTICE ************
bin/buildout is being reinstalled right now, as new python: bin/buildout is being reinstalled right now, as new python:
/sample_buildout/rebootstrap.1.parts/installpython/bin/installpython /sample_buildout/rebootstrap.1.parts/installpython/bin/installpython
...@@ -102,7 +102,7 @@ Running with: /sample_buildout/rebootstrap.1.parts/installpython/bin/installpyth ...@@ -102,7 +102,7 @@ Running with: /sample_buildout/rebootstrap.1.parts/installpython/bin/installpyth
... """ ... """
... [buildout] ... [buildout]
... develop = recipes ... develop = recipes
... extensions = slapos.tool.rebootstrap ... extensions = slapos.rebootstrap
... ...
... parts = ... parts =
... realrun ... realrun
...@@ -120,12 +120,12 @@ Running with: /sample_buildout/rebootstrap.1.parts/installpython/bin/installpyth ...@@ -120,12 +120,12 @@ Running with: /sample_buildout/rebootstrap.1.parts/installpython/bin/installpyth
... recipe = recipes:pyshow ... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable)) ... """ % dict(syspython=sys.executable))
>>> print system(buildout), >>> print system(buildout),
slapos.tool.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.2.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.2.parts' slapos.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.2.parts/installpython/bin/installpython' in '/sample-buildout/rebootstrap.2.parts'
slapos.tool.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.2.parts', 'buildout:installed=.rebootstrap.2.installed.cfg']. slapos.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.2.parts', 'buildout:installed=.rebootstrap.2.installed.cfg'].
Creating directory '/sample-buildout/rebootstrap.2.parts'. Creating directory '/sample-buildout/rebootstrap.2.parts'.
Develop: '/sample-buildout/recipes' Develop: '/sample-buildout/recipes'
Installing installpython. Installing installpython.
slapos.tool.rebootstrap: slapos.rebootstrap:
************ REBOOTSTRAP: IMPORTANT NOTICE ************ ************ REBOOTSTRAP: IMPORTANT NOTICE ************
bin/buildout is being reinstalled right now, as new python: bin/buildout is being reinstalled right now, as new python:
/sample_buildout/rebootstrap.2.parts/installpython/bin/installpython /sample_buildout/rebootstrap.2.parts/installpython/bin/installpython
...@@ -142,7 +142,7 @@ Running with: /sample_buildout/rebootstrap.2.parts/installpython/bin/installpyth ...@@ -142,7 +142,7 @@ Running with: /sample_buildout/rebootstrap.2.parts/installpython/bin/installpyth
... """ ... """
... [buildout] ... [buildout]
... develop = recipes ... develop = recipes
... extensions = slapos.tool.rebootstrap ... extensions = slapos.rebootstrap
... ...
... parts = ... parts =
... realrun ... realrun
...@@ -160,7 +160,7 @@ Running with: /sample_buildout/rebootstrap.2.parts/installpython/bin/installpyth ...@@ -160,7 +160,7 @@ Running with: /sample_buildout/rebootstrap.2.parts/installpython/bin/installpyth
... recipe = recipes:pyshow ... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable)) ... """ % dict(syspython=sys.executable))
>>> print system(buildout), >>> print system(buildout),
slapos.tool.rebootstrap: slapos.rebootstrap:
************ REBOOTSTRAP: IMPORTANT NOTICE ************ ************ REBOOTSTRAP: IMPORTANT NOTICE ************
bin/buildout is being reinstalled right now, as new python: bin/buildout is being reinstalled right now, as new python:
/sample_buildout/rebootstrap.1.parts/installpython/bin/installpython /sample_buildout/rebootstrap.1.parts/installpython/bin/installpython
......
...@@ -63,7 +63,7 @@ Develop: '/sample-buildout/recipes' ...@@ -63,7 +63,7 @@ Develop: '/sample-buildout/recipes'
... """ ... """
... [buildout] ... [buildout]
... develop = recipes ... develop = recipes
... extensions = slapos.tool.rebootstrap ... extensions = slapos.rebootstrap
... ...
... parts = ... parts =
... realrun ... realrun
...@@ -84,12 +84,12 @@ Develop: '/sample-buildout/recipes' ...@@ -84,12 +84,12 @@ Develop: '/sample-buildout/recipes'
... recipe = recipes:pyshow ... recipe = recipes:pyshow
... """ % dict(syspython=sys.executable)) ... """ % dict(syspython=sys.executable))
>>> print system(buildout), >>> print system(buildout),
slapos.tool.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/anotherpython' in '/sample-buildout/rebootstrap.1.parts' slapos.rebootstrap: Installing section 'installpython' to provide '/sample-buildout/rebootstrap.1.parts/installpython/anotherpython' in '/sample-buildout/rebootstrap.1.parts'
slapos.tool.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg']. slapos.rebootstrap: Rerunning buildout to install section installpython with arguments ['/sample-buildout/bin/buildout', 'buildout:parts=installpython', 'buildout:extensions=', '/sample-buildout/rebootstrap.1.parts', 'buildout:installed=.rebootstrap.1.installed.cfg'].
Creating directory '/sample-buildout/rebootstrap.1.parts'. Creating directory '/sample-buildout/rebootstrap.1.parts'.
Develop: '/sample-buildout/recipes' Develop: '/sample-buildout/recipes'
Installing installpython. Installing installpython.
slapos.tool.rebootstrap: slapos.rebootstrap:
************ REBOOTSTRAP: IMPORTANT NOTICE ************ ************ REBOOTSTRAP: IMPORTANT NOTICE ************
bin/buildout is being reinstalled right now, as new python: bin/buildout is being reinstalled right now, as new python:
/sample_buildout/rebootstrap.1.parts/installpython/anotherpython /sample_buildout/rebootstrap.1.parts/installpython/anotherpython
......
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