[Checkins] SVN: zope.testbrowser/trunk/ Moved to GitHub.

Stephen Richter cvs-admin at zope.org
Mon Feb 25 14:31:15 UTC 2013


Log message for revision 129793:
  Moved to GitHub.

Changed:
  D   zope.testbrowser/trunk/CHANGES.txt
  D   zope.testbrowser/trunk/COPYRIGHT.txt
  D   zope.testbrowser/trunk/LICENSE.txt
  A   zope.testbrowser/trunk/MOVED_TO_GITHUB
  D   zope.testbrowser/trunk/README.txt
  D   zope.testbrowser/trunk/bootstrap.py
  D   zope.testbrowser/trunk/buildout.cfg
  D   zope.testbrowser/trunk/setup.py
  D   zope.testbrowser/trunk/src/

-=-
Deleted: zope.testbrowser/trunk/CHANGES.txt
===================================================================
--- zope.testbrowser/trunk/CHANGES.txt	2013-02-25 14:17:54 UTC (rev 129792)
+++ zope.testbrowser/trunk/CHANGES.txt	2013-02-25 14:31:15 UTC (rev 129793)
@@ -1,259 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.3 (unreleased)
-------------------
-
-- pinning version 'WebTest <= 1.3.4', because of some incompatibility and
-  test failures
-
-- When ``Browser.handleErrors`` is False, also add ``x-wsgiorg.throw_errors``
-  to the environment. http://wsgi.org/wsgi/Specifications/throw_errors
-
-- Prevent WebTest from always sending ``paste.throw_errors=True`` in the
-  environment by setting it to ``None`` when ``Browser.handleErrors`` is
-  ``True``.  This makes it easier to test error pages.
-
-- More friendly error messages from getControl() et al:
-
-  - when you specify an index that is out of bounds, show the available
-    choices
-
-  - when you fail to find anything, show all the available items
-
-
-4.0.2 (2011-05-25)
-------------------
-
-- Remove test dependency on zope.pagetemplate.
-
-
-4.0.1 (2011-05-04)
-------------------
-
-- Added a hint in documentation how to use ``zope.testbrowser.wsgi.Browser``
-  to test a Zope 2/Zope 3/Bluebream WSGI application.
-
-4.0.0 (2011-03-14)
-------------------
-
-- LP #721252: AmbiguityError now shows all matching controls.
-
-- Integrate with WebTest. ``zope.testbrowser.wsgi.Browser`` is a
-  ``Browser`` implementation that uses ``webtest.TestApp`` to drive a WSGI
-  application. This this replaces the wsgi_intercept support added in 3.11.
-
-- Re-write the test application as a pure WSGI application using WebOb. Run the
-  existing tests using the WebTest based Browser
-
-- Move zope.app.testing based Browser into ``zope.app.testing`` (leaving
-  backwards compatibility imports in-place). Released in ``zope.app.testing``
-  3.9.0.
-
-
-3.11.1 (2011-01-24)
--------------------
-
-- Fixing brown bag release 3.11.0.
-
-
-3.11.0 (2011-01-24)
--------------------
-
-- Added `wsgi_intercept` support (came from ``zope.app.wsgi.testlayer``).
-
-
-3.10.4 (2011-01-14)
--------------------
-
-- Move the over-the-wire.txt doctest out of the TestBrowserLayer as it doesn't
-  need or use it.
-
-- Fix test compatibility with zope.app.testing 3.8.1.
-
-3.10.3 (2010-10-15)
--------------------
-
-- Fixed backwards compatibility with ``zope.app.wsgi.testlayer``.
-
-
-3.10.2 (2010-10-15)
--------------------
-
-- Fixed Python 2.7 compatibility in Browser.handleErrors.
-
-
-3.10.1 (2010-09-21)
--------------------
-
-- Fixed a bug that caused the ``Browser`` to keep it's previous ``contents``
-  The places are:
-  - Link.click()
-  - SubmitControl.click()
-  - ImageControl.click()
-  - Form.submit()
-
-- Also adjusted exception messages at the above places to match
-  pre version 3.4.1 messages.
-
-
-3.10.0 (2010-09-14)
--------------------
-
-- LP #98437: use mechanize's built-in ``submit()`` to submit forms, allowing
-  mechanize to set the "Referer:" (sic) header appropriately.
-
-- Fixed tests to run with ``zope.app.testing`` 3.8 and above.
-
-
-3.9.0 (2010-05-17)
-------------------
-
-- LP #568806: Update dependency ``mechanize >= 0.2.0``, which now includes
-  the ``ClientForm`` APIs.  Remove use of ``urllib2`` APIs (incompatible
-  with ``mechanize 0.2.0``) in favor of ``mechanize`` equivalents.
-  Thanks to John J. Lee for the patch.
-
-- Use stdlib ``doctest`` module, instead of ``zope.testing.doctest``.
-
-- **Caution:** This version is no longer fully compatible with Python 2.4:
-  ``handleErrors = False`` no longer works.
-
-
-3.8.1 (2010-04-19)
-------------------
-
-- Pinned dependency on mechanize to prevent use of the upcoming
-  0.2.0 release before we have time to adjust to its API changes.
-
-- LP #98396: testbrowser resolves relative URLs incorrectly.
-
-
-3.8.0 (2010-03-05)
-------------------
-
-- Added ``follow`` convenience method which gets and follows a link.
-
-
-3.7.0 (2009-12-17)
-------------------
-
-- Moved zope.app.testing dependency into the scope of the PublisherConnection
-  class. Zope2 specifies its own PublisherConnection which isn't dependent on
-  zope.app.testing.
-
-- Fixed LP #419119: return None when the browser has no contents instead of
-  raising an exception.
-
-
-3.7.0a1 (2009-08-29)
---------------------
-
-- Remove dependency on zope.app.publisher in favor of zope.browserpage,
-  zope.browserresource and zope.ptresource.
-
-- Remove dependencies on zope.app.principalannotation and zope.securitypolicy
-  by using the simple PermissiveSecurityPolicy. We aren't testing security
-  in our tests.
-
-- Replaced the testing dependency on zope.app.zcmlfiles with explicit
-  dependencies of a minimal set of packages.
-
-- Remove unneeded zope.app.authentication from ftesting.zcml.
-
-- Test dependency on zope.securitypolicy instead of its app variant.
-
-
-3.6.0a2 (2009-01-31)
---------------------
-
-- Test dependency on zope.site.folder instead of zope.app.folder.
-
-- Remove useless test dependency in zope.app.component.
-
-
-3.6.0a1 (2009-01-08)
---------------------
-
-- Author e-mail to zope-dev rather than zope3-dev.
-
-- New lines are no longer stripped in XML and HTML code contained in a
-  textarea; fix requires ClientForm >= 0.2.10 (LP #268139).
-
-- Added ``cookies`` attribute to browser for easy manipulation of browser
-  cookies.  See brief example in main documentation, plus new ``cookies.txt``
-  documentation.
-
-
-3.5.1 (2008-10-10)
-------------------
-
-- Provide a work around for a mechanize/urllib2 bug on Python 2.6
-  missing 'timeout' attribute on 'Request' base class.
-
-- Provide a work around for a mechanize/urllib2 bug in creating request
-  objects that won't handle fragment URLs correctly.
-
-
-3.5.0 (2008-03-30)
-------------------
-
-- Added a zope.testbrowser.testing.Browser.post method that allows
-  tests to supply a body and a content type.  This is handy for
-  testing Ajax requests with non-form input (e.g. JSON).
-
-- Remove vendor import of mechanize.
-
-- Fix bug that caused HTTP exception tracebacks to differ between version 3.4.0
-  and 3.4.1.
-
-- Workaround for bug in Python Cookie.SimpleCookie when handling unicode
-  strings.
-
-- Fix bug introduced in 3.4.1 that created incompatible tracebacks in doctests.
-  This necessitated adding a patched mechanize to the source tree; patches have
-  been sent to the mechanize project.
-
-- Fix https://bugs.launchpad.net/bugs/149517 by adding zope.interface and
-  zope.schema as real dependencies
-
-- Fix browser.getLink documentation that was not updated since the last API
-  modification.
-
-- Move tests for fixed bugs to a separate file.
-
-- Removed non-functional and undocumented code intended to help test servers
-  using virtual hosting.
-
-
-3.4.2 (2007-10-31)
-------------------
-
-- Resolve ``ZopeSecurityPolicy`` deprecation warning.
-
-
-3.4.1 (2007-09-01)
-------------------
-
-* Updated to mechanize 0.1.7b and ClientForm 0.2.7.  These are now
-  pulled in via egg dependencies.
-
-* ``zope.testbrowser`` now works on Python 2.5.
-
-
-3.4.0 (2007-06-04)
-------------------
-
-* Added the ability to suppress raising exceptions on HTTP errors
-  (``raiseHttpErrors`` attribute).
-
-* Made the tests more resilient to HTTP header formatting changes with
-  the REnormalizer.
-
-
-3.4.0a1 (2007-04-22)
---------------------
-
-Initial release as a separate project, corresponds to zope.testbrowser
-from Zope 3.4.0a1

Deleted: zope.testbrowser/trunk/COPYRIGHT.txt
===================================================================
--- zope.testbrowser/trunk/COPYRIGHT.txt	2013-02-25 14:17:54 UTC (rev 129792)
+++ zope.testbrowser/trunk/COPYRIGHT.txt	2013-02-25 14:31:15 UTC (rev 129793)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: zope.testbrowser/trunk/LICENSE.txt
===================================================================
--- zope.testbrowser/trunk/LICENSE.txt	2013-02-25 14:17:54 UTC (rev 129792)
+++ zope.testbrowser/trunk/LICENSE.txt	2013-02-25 14:31:15 UTC (rev 129793)
@@ -1,44 +0,0 @@
-Zope Public License (ZPL) Version 2.1
-
-A copyright notice accompanies this license document that identifies the
-copyright holders.
-
-This license has been certified as open source. It has also been designated as
-GPL compatible by the Free Software Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions in source code must retain the accompanying copyright
-notice, this list of conditions, and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying copyright
-notice, this list of conditions, and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to endorse or promote
-products derived from this software without prior written permission from the
-copyright holders.
-
-4. The right to distribute this software or to use it for any purpose does not
-give you the right to use Servicemarks (sm) or Trademarks (tm) of the
-copyright
-holders. Use of them is covered by separate agreement with the copyright
-holders.
-
-5. If any files are modified, you must cause the modified files to carry
-prominent notices stating that you changed the files and the date of any
-change.
-
-Disclaimer
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Added: zope.testbrowser/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.testbrowser/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ zope.testbrowser/trunk/MOVED_TO_GITHUB	2013-02-25 14:31:15 UTC (rev 129793)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.testbrowser
\ No newline at end of file

Deleted: zope.testbrowser/trunk/README.txt
===================================================================
--- zope.testbrowser/trunk/README.txt	2013-02-25 14:17:54 UTC (rev 129792)
+++ zope.testbrowser/trunk/README.txt	2013-02-25 14:31:15 UTC (rev 129793)
@@ -1,5 +0,0 @@
-``zope.testbrowser`` provides an easy-to-use programmable web browser
-with special focus on testing.  It is used in Zope, but it's not Zope
-specific at all.  For instance, it can be used to test or otherwise
-interact with any web site.
-

Deleted: zope.testbrowser/trunk/bootstrap.py
===================================================================
--- zope.testbrowser/trunk/bootstrap.py	2013-02-25 14:17:54 UTC (rev 129792)
+++ zope.testbrowser/trunk/bootstrap.py	2013-02-25 14:31:15 UTC (rev 129793)
@@ -1,116 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-"""
-
-import os, shutil, sys, tempfile, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser()
-parser.add_option("-v", "--version", dest="version",
-                          help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
-                   action="store_true", dest="distribute", default=False,
-                   help="Use Disribute rather than Setuptools.")
-
-parser.add_option("-c", None, action="store", dest="config_file",
-                   help=("Specify the path to the buildout configuration "
-                         "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
-    args += ['-c', options.config_file]
-
-if options.version is not None:
-    VERSION = '==%s' % options.version
-else:
-    VERSION = ''
-
-USE_DISTRIBUTE = options.distribute
-args = args + ['bootstrap']
-
-try:
-    import pkg_resources
-    import setuptools
-    if not hasattr(pkg_resources, '_distribute'):
-        raise ImportError
-except ImportError:
-    ez = {}
-    if USE_DISTRIBUTE:
-        exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
-                         ).read() in ez
-        ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
-    else:
-        exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
-                             ).read() in ez
-        ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-    reload(sys.modules['pkg_resources'])
-    import pkg_resources
-
-if sys.platform == 'win32':
-    def quote(c):
-        if ' ' in c:
-            return '"%s"' % c # work around spawn lamosity on windows
-        else:
-            return c
-else:
-    def quote (c):
-        return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws  = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
-    requirement = 'distribute'
-else:
-    requirement = 'setuptools'
-
-if is_jython:
-    import subprocess
-
-    assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
-           quote(tmpeggs), 'zc.buildout' + VERSION],
-           env=dict(os.environ,
-               PYTHONPATH=
-               ws.find(pkg_resources.Requirement.parse(requirement)).location
-               ),
-           ).wait() == 0
-
-else:
-    assert os.spawnle(
-        os.P_WAIT, sys.executable, quote (sys.executable),
-        '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout' + VERSION,
-        dict(os.environ,
-            PYTHONPATH=
-            ws.find(pkg_resources.Requirement.parse(requirement)).location
-            ),
-        ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)

Deleted: zope.testbrowser/trunk/buildout.cfg
===================================================================
--- zope.testbrowser/trunk/buildout.cfg	2013-02-25 14:17:54 UTC (rev 129792)
+++ zope.testbrowser/trunk/buildout.cfg	2013-02-25 14:31:15 UTC (rev 129793)
@@ -1,19 +0,0 @@
-[buildout]
-develop = .
-parts = test test_bbb interpreter
-
-[test]
-recipe = zc.recipe.testrunner
-defaults = ['--tests-pattern', '^f?tests$']
-eggs = zope.testbrowser [test]
-
-[test_bbb]
-recipe = zc.recipe.testrunner
-defaults = ['--tests-pattern', '^f?tests$']
-eggs = zope.testbrowser [test,test_bbb]
-
-[interpreter]
-recipe = zc.recipe.egg
-eggs = zope.testbrowser
-interpreter = py
-

Deleted: zope.testbrowser/trunk/setup.py
===================================================================
--- zope.testbrowser/trunk/setup.py	2013-02-25 14:17:54 UTC (rev 129792)
+++ zope.testbrowser/trunk/setup.py	2013-02-25 14:31:15 UTC (rev 129793)
@@ -1,83 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Setup for zope.testbrowser package
-"""
-import os
-from setuptools import setup, find_packages
-
-long_description = (
-    '.. contents::\n\n'
-    + open('README.txt').read()
-    + '\n\n'
-    + open(os.path.join('src', 'zope', 'testbrowser', 'README.txt')).read()
-    + '\n\n'
-    + open('CHANGES.txt').read()
-    )
-
-# pinning version, because of some incompatibility and test failures
-# see:
-# http://winbot.zope.org/builders/zope.testbrowser_py_265_32/builds/619/steps/test/logs/stdio
-WEBTEST = 'WebTest <= 1.3.4'
-
-tests_require = ['zope.testing',
-                 WEBTEST]
-
-setup(
-    name='zope.testbrowser',
-    version='4.0.3dev',
-    url='http://pypi.python.org/pypi/zope.testbrowser',
-    license='ZPL 2.1',
-    description='Programmable browser for functional black-box tests',
-    author='Zope Corporation and Contributors',
-    author_email='zope-dev at zope.org',
-    long_description=long_description,
-    classifiers=[
-        'Environment :: Web Environment',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: Zope Public License',
-        'Programming Language :: Python :: 2.5',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
-        'Topic :: Software Development :: Testing',
-        'Topic :: Internet :: WWW/HTTP',
-        ],
-
-    packages=find_packages('src'),
-    package_dir={'': 'src'},
-    namespace_packages=['zope',],
-    test_suite='zope.testbrowser.tests',
-    tests_require=tests_require,
-    install_requires=[
-        # mechanize 0.2.0 folds in ClientForm, makes incompatible API changes
-        'mechanize>=0.2.0',
-        'setuptools',
-        'zope.interface',
-        'zope.schema',
-        'pytz',
-        ],
-    extras_require={
-        'test': tests_require,
-        'test_bbb': [
-            'zope.testbrowser [test,zope-functional-testing]',
-            ],
-        'zope-functional-testing': [
-            'zope.app.testing >= 3.9.0dev',
-            ],
-        'wsgi': [
-            WEBTEST,
-            ]
-        },
-    include_package_data=True,
-    zip_safe=False,
-    )



More information about the checkins mailing list