[Zope-dev] zc.zope3recipes : set offline tests everywhere

Christophe Combelles ccomb at free.fr
Sat Aug 9 06:18:04 EDT 2008


Is this change ok?
It seems to solve the previous failures in the 3.4 kgs, and speeds up the test.

> Log message for revision 89568:
>   Added offline=true to every test buildout to prevent unexpected (potentially
>   recursive) upgrade during tests
>   
> 
> Changed:
>   U   zc.zope3recipes/branches/0.6/zc/zope3recipes/README.txt
>   U   zc.zope3recipes/branches/0.6/zc/zope3recipes/tests.py
> 
> -=-
> Modified: zc.zope3recipes/branches/0.6/zc/zope3recipes/README.txt
> ===================================================================
> --- zc.zope3recipes/branches/0.6/zc/zope3recipes/README.txt	2008-08-09 10:09:05 UTC (rev 89567)
> +++ zc.zope3recipes/branches/0.6/zc/zope3recipes/README.txt	2008-08-09 10:10:49 UTC (rev 89568)
> @@ -53,6 +53,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = myapp
> +    ... offline = true
>      ...
>      ... [myapp]
>      ... recipe = zc.zope3recipes:application
> @@ -145,6 +146,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = myapp
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -288,6 +290,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = myapp
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -343,6 +346,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = myapp
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -450,6 +454,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = myapp
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -569,6 +574,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -681,6 +687,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -760,6 +767,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -850,6 +858,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -930,6 +939,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -1010,6 +1020,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -1112,6 +1123,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -1211,6 +1223,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -1307,6 +1320,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -1456,6 +1470,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> @@ -1597,6 +1612,7 @@
>      ... [buildout]
>      ... develop = demo1 demo2
>      ... parts = instance instance2
> +    ... offline = true
>      ...
>      ... [zope3]
>      ... location = %(zope3)s
> 
> Modified: zc.zope3recipes/branches/0.6/zc/zope3recipes/tests.py
> ===================================================================
> --- zc.zope3recipes/branches/0.6/zc/zope3recipes/tests.py	2008-08-09 10:09:05 UTC (rev 89567)
> +++ zc.zope3recipes/branches/0.6/zc/zope3recipes/tests.py	2008-08-09 10:10:49 UTC (rev 89568)
> @@ -32,6 +32,7 @@
>      ... '''
>      ... [buildout]
>      ... parts = ctl
> +    ... offline = true
>      ...
>      ... [ctl]
>      ... recipe = zc.recipe.egg
> @@ -94,6 +95,7 @@
>      ... '''
>      ... [buildout]
>      ... parts = instance
> +    ... offline = true
>      ...
>      ... [myapp]
>      ... location = foo
> 
> _______________________________________________
> Checkins mailing list
> Checkins at zope.org
> http://mail.zope.org/mailman/listinfo/checkins
> 
> 



More information about the Zope-Dev mailing list