[Checkins] SVN: zope.app.testing/tags/3.6.1/ Tag 3.6.1

Dan Korostelev nadako at gmail.com
Thu Mar 12 12:47:51 EDT 2009


Log message for revision 97998:
  Tag 3.6.1

Changed:
  A   zope.app.testing/tags/3.6.1/
  D   zope.app.testing/tags/3.6.1/CHANGES.txt
  A   zope.app.testing/tags/3.6.1/CHANGES.txt
  U   zope.app.testing/tags/3.6.1/setup.py
  D   zope.app.testing/tags/3.6.1/src/zope/app/testing/DEPENDENCIES.cfg
  D   zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestOne.txt
  A   zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestOne.txt
  D   zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestTwo.txt
  A   zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestTwo.txt

-=-
Deleted: zope.app.testing/tags/3.6.1/CHANGES.txt
===================================================================
--- zope.app.testing/trunk/CHANGES.txt	2009-03-12 10:22:51 UTC (rev 97978)
+++ zope.app.testing/tags/3.6.1/CHANGES.txt	2009-03-12 16:47:50 UTC (rev 97998)
@@ -1,90 +0,0 @@
-=======
-CHANGES
-=======
-
-3.6.1 (unreleased)
-------------------
-
-- Use ISkinnable.providedBy(request) instead of IBrowserRequest as condition
-  for calling setDefaultSkin in HTTPCaller. This at the same time removes
-  dependency to the browser part of zope.publisher.
-
-- Adapt to the move of IDefaultViewName from zope.component.interfaces
-  to zope.publisher.interfaces.
-
-3.6.0 (2009-02-01)
-------------------
-
-- Fix AttributeError in ``zope.app.testing.setup.setUpTestAsModule``
-  (when called without name argument).
-
-- Use ``zope.container`` instead of ``zope.app.container``.
-
-- Use ``zope.site`` instead of ``zope.app.folder`` and
-  ``zope.app.component`` for some parts.
-
-3.5.6 (2008-10-13)
-------------------
-
-- Change argument variable name in provideAdapter to not conflict with
-  buitin keyword in Python 2.6.
-
-3.5.5 (2008-10-10)
-------------------
-
-- Re-configured functional test setup to create test-specific instances
-  of HTTPCaller to ensure that cookies are not shared by doctests
-  in a test suite.
-
-3.5.4 (2008-08-25)
-------------------
-
-- Clean up some transaction management in the functional test setup.
-
-3.5.3 (2008-08-22)
-------------------
-
-- Fix isolation enforcement for product configuration around individual tests.
-
-3.5.2 (2008-08-21)
-------------------
-
-- Added missing dependency information in setup.py.
-
-- Added missing import.
-
-- Repair memory leak fix released in 3.4.3 to be more sane in the presence of
-  generations.
-
-3.5.1 (2008-08-20)
-------------------
-
-- Correct Fred's "I'm a doofus" release.
-
-3.5.0 (2008-08-20)
-------------------
-
-- Add support for product-configuration as part of functional layers; this
-  more closely mirrors the configuration order for normal operation.
-
-3.4.3 (2008-07-25)
-------------------
-
-- Fix memory leak in all functional tests.
-  see: https://bugs.launchpad.net/zope3/+bug/251273
-
-3.4.2 (2008-02-02)
-------------------
-
-- Fix of 599 error on conflict error in request
-  see: http://mail.zope.org/pipermail/zope-dev/2008-January/030844.html
-
-3.4.1 (2007-10-31)
-------------------
-
-- Fixed deprecation warning for ``ZopeSecurityPolicy``.
-
-3.4.0 (2007-10-27)
-------------------
-
-- Initial release independent of the main Zope tree.

Copied: zope.app.testing/tags/3.6.1/CHANGES.txt (from rev 97997, zope.app.testing/trunk/CHANGES.txt)
===================================================================
--- zope.app.testing/tags/3.6.1/CHANGES.txt	                        (rev 0)
+++ zope.app.testing/tags/3.6.1/CHANGES.txt	2009-03-12 16:47:50 UTC (rev 97998)
@@ -0,0 +1,92 @@
+=======
+CHANGES
+=======
+
+3.6.1 (2009-03-12)
+------------------
+
+- Use ISkinnable.providedBy(request) instead of IBrowserRequest as condition
+  for calling setDefaultSkin in HTTPCaller. This at the same time removes
+  dependency to the browser part of zope.publisher.
+
+- Adapt to the move of IDefaultViewName from zope.component.interfaces
+  to zope.publisher.interfaces.
+
+- Remove the DEPENDENCIES.cfg file for zpkg.
+
+3.6.0 (2009-02-01)
+------------------
+
+- Fix AttributeError in ``zope.app.testing.setup.setUpTestAsModule``
+  (when called without name argument).
+
+- Use ``zope.container`` instead of ``zope.app.container``.
+
+- Use ``zope.site`` instead of ``zope.app.folder`` and
+  ``zope.app.component`` for some parts.
+
+3.5.6 (2008-10-13)
+------------------
+
+- Change argument variable name in provideAdapter to not conflict with
+  buitin keyword in Python 2.6.
+
+3.5.5 (2008-10-10)
+------------------
+
+- Re-configured functional test setup to create test-specific instances
+  of HTTPCaller to ensure that cookies are not shared by doctests
+  in a test suite.
+
+3.5.4 (2008-08-25)
+------------------
+
+- Clean up some transaction management in the functional test setup.
+
+3.5.3 (2008-08-22)
+------------------
+
+- Fix isolation enforcement for product configuration around individual tests.
+
+3.5.2 (2008-08-21)
+------------------
+
+- Added missing dependency information in setup.py.
+
+- Added missing import.
+
+- Repair memory leak fix released in 3.4.3 to be more sane in the presence of
+  generations.
+
+3.5.1 (2008-08-20)
+------------------
+
+- Correct Fred's "I'm a doofus" release.
+
+3.5.0 (2008-08-20)
+------------------
+
+- Add support for product-configuration as part of functional layers; this
+  more closely mirrors the configuration order for normal operation.
+
+3.4.3 (2008-07-25)
+------------------
+
+- Fix memory leak in all functional tests.
+  see: https://bugs.launchpad.net/zope3/+bug/251273
+
+3.4.2 (2008-02-02)
+------------------
+
+- Fix of 599 error on conflict error in request
+  see: http://mail.zope.org/pipermail/zope-dev/2008-January/030844.html
+
+3.4.1 (2007-10-31)
+------------------
+
+- Fixed deprecation warning for ``ZopeSecurityPolicy``.
+
+3.4.0 (2007-10-27)
+------------------
+
+- Initial release independent of the main Zope tree.

Modified: zope.app.testing/tags/3.6.1/setup.py
===================================================================
--- zope.app.testing/trunk/setup.py	2009-03-12 10:22:51 UTC (rev 97978)
+++ zope.app.testing/tags/3.6.1/setup.py	2009-03-12 16:47:50 UTC (rev 97998)
@@ -22,7 +22,7 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='zope.app.testing',
-      version = '3.6.1dev',
+      version = '3.6.1',
       author='Zope Corporation and Contributors',
       author_email='zope-dev at zope.org',
       description='Zope Application Testing Support',

Deleted: zope.app.testing/tags/3.6.1/src/zope/app/testing/DEPENDENCIES.cfg
===================================================================
--- zope.app.testing/trunk/src/zope/app/testing/DEPENDENCIES.cfg	2009-03-12 10:22:51 UTC (rev 97978)
+++ zope.app.testing/tags/3.6.1/src/zope/app/testing/DEPENDENCIES.cfg	2009-03-12 16:47:50 UTC (rev 97998)
@@ -1,8 +0,0 @@
-zope.app.i18n
-zope.app.container
-zope.app.authentication
-zope.app.security
-zope.app.traversing
-
-zope.schema
-zope.component

Deleted: zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestOne.txt
===================================================================
--- zope.app.testing/trunk/src/zope/app/testing/cookieTestOne.txt	2009-03-12 10:22:51 UTC (rev 97978)
+++ zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestOne.txt	2009-03-12 16:47:50 UTC (rev 97998)
@@ -1,58 +0,0 @@
-========================
-DocTest Functional Tests
-========================
-
-This file documents and tests doctest-based functional tests and basic
-Zope web-application functionality.
-
-This second DocTest, zope/app/testing/cookieTestOne.txt, has specifically
-been created in order to make sure cookie information is not being saved
-across a test suite. If we are saving these via a global 'http' instance,
-we will see more results than those listed below. 'http' is instead
-created in setUp within _prepare_doctest_keywords, rather than in the
-global declarations.
-
-Now we will run tests to ensure that cookies are not saved across doctests.
-
-  >>> from zope.app.testing import functional
-  >>> from zope.app.testing.tests import DummyCookiesResponse
-
-We will create some cookie values and saved them in our 'http' value, which
-is a CookieHandler() object.
-
-  >>> response = DummyCookiesResponse(dict(
-  ...     proton=dict(value='fromCookieTestOne', path='/foo', comment='rest is ignored'),
-  ...     neutron=dict(value='fromCookieTestOne')))
-
-If 'http' is created as a global variable, then every doctest in this
-suite will be saving cookies in it, and one doctest may see cookies for
-another doctest. We only want two cookies in 'http' - the ones we just
-created.
-
-  >>> http.saveCookies(response)
-  >>> len(http.cookies)
-  2
-
-  >>> http.cookies['proton'].OutputString()
-  'proton=fromCookieTestOne; Path=/foo;'
-
-  >>> http.cookies
-  <SimpleCookie: neutron='fromCookieTestOne' proton='fromCookieTestOne'>
-
-  >>> http.cookies['proton'] = 'fromCookieTestOne'
-  >>> http.cookies['proton']['path'] = '/foo'
-  >>> http.cookies['electron'] = 'fromCookieTestOne'
-  >>> http.cookies['electron']['path'] = '/foo/baz'
-  >>> http.cookies['neutron'] = 'fromCookieTestOne'
-
-  >>> cookieHeader = http.httpCookie('/foo/bar')
-  >>> parts = cookieHeader.split('; ')
-  >>> parts.sort()
-  >>> parts
-  ['neutron=fromCookieTestOne', 'proton=fromCookieTestOne']
-
-  >>> cookieHeader = http.httpCookie('/foo/baz')
-  >>> parts = cookieHeader.split('; ')
-  >>> parts.sort()
-  >>> parts
-  ['electron=fromCookieTestOne', 'neutron=fromCookieTestOne', 'proton=fromCookieTestOne']

Copied: zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestOne.txt (from rev 97997, zope.app.testing/trunk/src/zope/app/testing/cookieTestOne.txt)
===================================================================
--- zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestOne.txt	                        (rev 0)
+++ zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestOne.txt	2009-03-12 16:47:50 UTC (rev 97998)
@@ -0,0 +1,58 @@
+========================
+DocTest Functional Tests
+========================
+
+This file documents and tests doctest-based functional tests and basic
+Zope web-application functionality.
+
+This second DocTest, zope/app/testing/cookieTestOne.txt, has specifically
+been created in order to make sure cookie information is not being saved
+across a test suite. If we are saving these via a global 'http' instance,
+we will see more results than those listed below. 'http' is instead
+created in setUp within _prepare_doctest_keywords, rather than in the
+global declarations.
+
+Now we will run tests to ensure that cookies are not saved across doctests.
+
+  >>> from zope.app.testing import functional
+  >>> from zope.app.testing.tests import DummyCookiesResponse
+
+We will create some cookie values and saved them in our 'http' value, which
+is a CookieHandler() object.
+
+  >>> response = DummyCookiesResponse(dict(
+  ...     proton=dict(value='fromCookieTestOne', path='/foo', comment='rest is ignored'),
+  ...     neutron=dict(value='fromCookieTestOne')))
+
+If 'http' is created as a global variable, then every doctest in this
+suite will be saving cookies in it, and one doctest may see cookies for
+another doctest. We only want two cookies in 'http' - the ones we just
+created.
+
+  >>> http.saveCookies(response)
+  >>> len(http.cookies)
+  2
+
+  >>> http.cookies['proton'].OutputString()
+  'proton=fromCookieTestOne; Path=/foo'
+
+  >>> http.cookies
+  <SimpleCookie: neutron='fromCookieTestOne' proton='fromCookieTestOne'>
+
+  >>> http.cookies['proton'] = 'fromCookieTestOne'
+  >>> http.cookies['proton']['path'] = '/foo'
+  >>> http.cookies['electron'] = 'fromCookieTestOne'
+  >>> http.cookies['electron']['path'] = '/foo/baz'
+  >>> http.cookies['neutron'] = 'fromCookieTestOne'
+
+  >>> cookieHeader = http.httpCookie('/foo/bar')
+  >>> parts = cookieHeader.split('; ')
+  >>> parts.sort()
+  >>> parts
+  ['neutron=fromCookieTestOne', 'proton=fromCookieTestOne']
+
+  >>> cookieHeader = http.httpCookie('/foo/baz')
+  >>> parts = cookieHeader.split('; ')
+  >>> parts.sort()
+  >>> parts
+  ['electron=fromCookieTestOne', 'neutron=fromCookieTestOne', 'proton=fromCookieTestOne']

Deleted: zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestTwo.txt
===================================================================
--- zope.app.testing/trunk/src/zope/app/testing/cookieTestTwo.txt	2009-03-12 10:22:51 UTC (rev 97978)
+++ zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestTwo.txt	2009-03-12 16:47:50 UTC (rev 97998)
@@ -1,48 +0,0 @@
-========================
-DocTest Functional Tests
-========================
-
-This file documents and tests doctest-based functional tests and basic
-Zope web-application functionality.
-
-This second DocTest, zope/app/testing/cookieTestTwo.txt, has specifically
-been created in order to make sure cookie information is not being saved
-across a test suite. If we are saving these via a global 'http' instance,
-we will see more results than those listed below. 'http' is instead
-created in setUp within _prepare_doctest_keywords, rather than in the
-global declarations.
-
-  >>> from zope.app.testing import functional
-  >>> from zope.app.testing.tests import DummyCookiesResponse
-
-  >>> response = DummyCookiesResponse(dict(
-  ...     cobalt=dict(value='fromCookieTestTwo', path='/foo', comment='rest is ignored'),
-  ...     crimson=dict(value='fromCookieTestTwo')))
-
-  >>> http.saveCookies(response)
-  >>> len(http.cookies)
-  2
-        
-  >>> http.cookies['cobalt'].OutputString()
-  'cobalt=fromCookieTestTwo; Path=/foo;'
-
-  >>> http.cookies
-  <SimpleCookie: cobalt='fromCookieTestTwo' crimson='fromCookieTestTwo'>
-
-  >>> http.cookies['cobalt'] = 'fromCookieTestTwo'
-  >>> http.cookies['cobalt']['path'] = '/foo'
-  >>> http.cookies['amber'] = 'fromCookieTestTwo'
-  >>> http.cookies['amber']['path'] = '/foo/baz'
-  >>> http.cookies['crimson'] = 'fromCookieTestTwo'
-
-  >>> cookieHeader = http.httpCookie('/foo/bar')
-  >>> parts = cookieHeader.split('; ')
-  >>> parts.sort()
-  >>> parts
-  ['cobalt=fromCookieTestTwo', 'crimson=fromCookieTestTwo']
-
-  >>> cookieHeader = http.httpCookie('/foo/baz')
-  >>> parts = cookieHeader.split('; ')
-  >>> parts.sort()
-  >>> parts
-  ['amber=fromCookieTestTwo', 'cobalt=fromCookieTestTwo', 'crimson=fromCookieTestTwo']

Copied: zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestTwo.txt (from rev 97997, zope.app.testing/trunk/src/zope/app/testing/cookieTestTwo.txt)
===================================================================
--- zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestTwo.txt	                        (rev 0)
+++ zope.app.testing/tags/3.6.1/src/zope/app/testing/cookieTestTwo.txt	2009-03-12 16:47:50 UTC (rev 97998)
@@ -0,0 +1,48 @@
+========================
+DocTest Functional Tests
+========================
+
+This file documents and tests doctest-based functional tests and basic
+Zope web-application functionality.
+
+This second DocTest, zope/app/testing/cookieTestTwo.txt, has specifically
+been created in order to make sure cookie information is not being saved
+across a test suite. If we are saving these via a global 'http' instance,
+we will see more results than those listed below. 'http' is instead
+created in setUp within _prepare_doctest_keywords, rather than in the
+global declarations.
+
+  >>> from zope.app.testing import functional
+  >>> from zope.app.testing.tests import DummyCookiesResponse
+
+  >>> response = DummyCookiesResponse(dict(
+  ...     cobalt=dict(value='fromCookieTestTwo', path='/foo', comment='rest is ignored'),
+  ...     crimson=dict(value='fromCookieTestTwo')))
+
+  >>> http.saveCookies(response)
+  >>> len(http.cookies)
+  2
+        
+  >>> http.cookies['cobalt'].OutputString()
+  'cobalt=fromCookieTestTwo; Path=/foo'
+
+  >>> http.cookies
+  <SimpleCookie: cobalt='fromCookieTestTwo' crimson='fromCookieTestTwo'>
+
+  >>> http.cookies['cobalt'] = 'fromCookieTestTwo'
+  >>> http.cookies['cobalt']['path'] = '/foo'
+  >>> http.cookies['amber'] = 'fromCookieTestTwo'
+  >>> http.cookies['amber']['path'] = '/foo/baz'
+  >>> http.cookies['crimson'] = 'fromCookieTestTwo'
+
+  >>> cookieHeader = http.httpCookie('/foo/bar')
+  >>> parts = cookieHeader.split('; ')
+  >>> parts.sort()
+  >>> parts
+  ['cobalt=fromCookieTestTwo', 'crimson=fromCookieTestTwo']
+
+  >>> cookieHeader = http.httpCookie('/foo/baz')
+  >>> parts = cookieHeader.split('; ')
+  >>> parts.sort()
+  >>> parts
+  ['amber=fromCookieTestTwo', 'cobalt=fromCookieTestTwo', 'crimson=fromCookieTestTwo']



More information about the Checkins mailing list