Skip to content

Commit

Permalink
[fc] Repository: Products.CMFQuickInstallerTool
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2015-06-02T10:01:21+02:00
Author: Tom Gross (tomgross) <itconsense@gmail.com>
Commit: plone/Products.CMFQuickInstallerTool@2eb8af5

run all doctests

Files changed:
M Products/CMFQuickInstallerTool/tests/profiles.txt
M Products/CMFQuickInstallerTool/tests/test_install.py
Repository: Products.CMFQuickInstallerTool
Branch: refs/heads/master
Date: 2015-06-02T10:55:01+02:00
Author: Tom Gross (tomgross) <itconsense@gmail.com>
Commit: plone/Products.CMFQuickInstallerTool@df358c6

fixed doctests

Files changed:
M Products/CMFQuickInstallerTool/tests/install.txt
M Products/CMFQuickInstallerTool/tests/test_install.py
Repository: Products.CMFQuickInstallerTool
Branch: refs/heads/master
Date: 2015-06-02T10:56:01+02:00
Author: Tom Gross (tomgross) <itconsense@gmail.com>
Commit: plone/Products.CMFQuickInstallerTool@cb04fc4

document changes

Files changed:
M CHANGES.rst
Repository: Products.CMFQuickInstallerTool
Branch: refs/heads/master
Date: 2015-06-02T12:25:35+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/Products.CMFQuickInstallerTool@135eb81

Merge pull request #8 from plone/tomgross-fixdoctests

Readded doctests which were not run after migration to p.a.testing

Files changed:
M CHANGES.rst
M Products/CMFQuickInstallerTool/tests/install.txt
M Products/CMFQuickInstallerTool/tests/profiles.txt
M Products/CMFQuickInstallerTool/tests/test_install.py
  • Loading branch information
pbauer committed Jun 2, 2015
1 parent d0ffc88 commit 72320ff
Showing 1 changed file with 182 additions and 51 deletions.
233 changes: 182 additions & 51 deletions last_commit.txt
Original file line number Diff line number Diff line change
@@ -1,84 +1,215 @@
Repository: plone.dexterity
Repository: Products.CMFQuickInstallerTool
Branch: refs/heads/master
Date: 2015-05-31T19:07:03+02:00
Author: Timo Stollenwerk (tisto) <tisto@plone.org>
Commit: https://github.com/plone/plone.dexterity/commit/cef2d05e922962eb913edc2cd57bb602f40168b2
Date: 2015-06-02T10:01:21+02:00
Author: Tom Gross (tomgross) <itconsense@gmail.com>
Commit: https://github.com/plone/Products.CMFQuickInstallerTool/commit/2eb8af558696caa2b66aae86e94083aff9703c8d

Preparing release 2.3.1
run all doctests

Files changed:
M Products/CMFQuickInstallerTool/tests/profiles.txt
M Products/CMFQuickInstallerTool/tests/test_install.py

diff --git a/Products/CMFQuickInstallerTool/tests/profiles.txt b/Products/CMFQuickInstallerTool/tests/profiles.txt
index 7a85c3d..ec7e58c 100644
--- a/Products/CMFQuickInstallerTool/tests/profiles.txt
+++ b/Products/CMFQuickInstallerTool/tests/profiles.txt
@@ -68,6 +68,11 @@ We now expect to see Products.Product1 and Products.Product2 in the list of
installable products, but not Products.Product3.

>>> installable = [x['id'] for x in qi.listInstallableProducts()]
- >>> self.failUnless('Products.Product1' in installable)
- >>> self.failUnless('Products.Product2' in installable)
- >>> self.failIf('Products.Product3' in installable)
+ >>> 'Products.Product1' in installable
+ True
+
+ >>> 'Products.Product2' in installable
+ True
+
+ >>> 'Products.Product3' in installable
+ False
diff --git a/Products/CMFQuickInstallerTool/tests/test_install.py b/Products/CMFQuickInstallerTool/tests/test_install.py
index 143240d..130f4b4 100644
--- a/Products/CMFQuickInstallerTool/tests/test_install.py
+++ b/Products/CMFQuickInstallerTool/tests/test_install.py
@@ -61,7 +61,7 @@ def test_suite():
for testfile in ['actions.txt', 'profiles.txt', 'install.txt']:
suite.addTest(layered(
doctest.DocFileSuite(
- 'actions.txt',
+ testfile,
package='Products.CMFQuickInstallerTool.tests',
optionflags=OPTIONFLAGS),
layer=CQI_FUNCTIONAL_TESTING))


Repository: Products.CMFQuickInstallerTool
Branch: refs/heads/master
Date: 2015-06-02T10:55:01+02:00
Author: Tom Gross (tomgross) <itconsense@gmail.com>
Commit: https://github.com/plone/Products.CMFQuickInstallerTool/commit/df358c68690cdef4601249a81e94242f08a441ca

fixed doctests

Files changed:
M Products/CMFQuickInstallerTool/tests/install.txt
M Products/CMFQuickInstallerTool/tests/test_install.py

diff --git a/Products/CMFQuickInstallerTool/tests/install.txt b/Products/CMFQuickInstallerTool/tests/install.txt
index b5b60d8..46f1db8 100644
--- a/Products/CMFQuickInstallerTool/tests/install.txt
+++ b/Products/CMFQuickInstallerTool/tests/install.txt
@@ -7,7 +7,7 @@ First we set three convenience variables for later use:
>>> from Products.CMFQuickInstallerTool.interfaces import IQuickInstallerTool
>>> from Products.CMFCore.utils import getToolByName

- >>> portal = layer['plone']
+ >>> portal = layer['portal']
>>> portal
<PloneSite at /plone>

diff --git a/Products/CMFQuickInstallerTool/tests/test_install.py b/Products/CMFQuickInstallerTool/tests/test_install.py
index 130f4b4..d59c6f6 100644
--- a/Products/CMFQuickInstallerTool/tests/test_install.py
+++ b/Products/CMFQuickInstallerTool/tests/test_install.py
@@ -5,6 +5,7 @@
from Products.GenericSetup import EXTENSION, profile_registry
from plone.app import testing
from plone.testing import layered
+from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_FIXTURE

from Products.CMFQuickInstallerTool.QuickInstallerTool import QuickInstallerTool
from Products.CMFQuickInstallerTool.events import handleBeforeProfileImportEvent
@@ -17,7 +18,7 @@

class QuickInstallerCaseFixture(testing.PloneSandboxLayer):

- defaultBases = (testing.PLONE_FIXTURE, )
+ defaultBases = (PLONE_APP_CONTENTTYPES_FIXTURE, )

def setUpZope(self, app, configurationContext):
sm = zope.component.getSiteManager()


Repository: Products.CMFQuickInstallerTool
Branch: refs/heads/master
Date: 2015-06-02T10:56:01+02:00
Author: Tom Gross (tomgross) <itconsense@gmail.com>
Commit: https://github.com/plone/Products.CMFQuickInstallerTool/commit/cb04fc46e09ac2d73c958eb4d20348bbda5b9f4c

document changes

Files changed:
M CHANGES.rst
M setup.py

diff --git a/CHANGES.rst b/CHANGES.rst
index fc50195..ff84d60 100644
index acb2cfa..ad60c97 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,7 +1,7 @@
Changelog
=========

-2.3.1 (unreleased)
+2.3.1 (2015-05-31)
@@ -4,7 +4,8 @@ Changelog
3.0.9 (unreleased)
------------------

- Fix issue where webdav PUT created items with empty id
diff --git a/setup.py b/setup.py
index e8d7b50..0dadbc2 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
from setuptools import find_packages
-- Nothing changed yet.
+- Readded doctests which were not run after port to plone.app.testing
+ [tomgross]


-version = '2.3.1.dev0'
+version = '2.3.1'

short_description = """\
Framework for content types as filesystem code and TTW (Zope/CMF/Plone)\
3.0.8 (2015-03-21)


Repository: plone.dexterity
Repository: Products.CMFQuickInstallerTool
Branch: refs/heads/master
Date: 2015-05-31T19:07:28+02:00
Author: Timo Stollenwerk (tisto) <tisto@plone.org>
Commit: https://github.com/plone/plone.dexterity/commit/a830ee307eedce199512e911ed1eb0e5131e0e84
Date: 2015-06-02T12:25:35+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: https://github.com/plone/Products.CMFQuickInstallerTool/commit/135eb81610d2a8616d300581d20285243becfe1f

Merge pull request #8 from plone/tomgross-fixdoctests

Back to development: 2.3.2
Readded doctests which were not run after migration to p.a.testing

Files changed:
M CHANGES.rst
M setup.py
M Products/CMFQuickInstallerTool/tests/install.txt
M Products/CMFQuickInstallerTool/tests/profiles.txt
M Products/CMFQuickInstallerTool/tests/test_install.py

diff --git a/CHANGES.rst b/CHANGES.rst
index ff84d60..832497c 100644
index acb2cfa..ad60c97 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,6 +1,12 @@
Changelog
=========
@@ -4,7 +4,8 @@ Changelog
3.0.9 (unreleased)
------------------

+2.3.2 (unreleased)
+------------------
+
+- Nothing changed yet.
-- Nothing changed yet.
+- Readded doctests which were not run after port to plone.app.testing
+ [tomgross]


3.0.8 (2015-03-21)
diff --git a/Products/CMFQuickInstallerTool/tests/install.txt b/Products/CMFQuickInstallerTool/tests/install.txt
index b5b60d8..46f1db8 100644
--- a/Products/CMFQuickInstallerTool/tests/install.txt
+++ b/Products/CMFQuickInstallerTool/tests/install.txt
@@ -7,7 +7,7 @@ First we set three convenience variables for later use:
>>> from Products.CMFQuickInstallerTool.interfaces import IQuickInstallerTool
>>> from Products.CMFCore.utils import getToolByName

- >>> portal = layer['plone']
+ >>> portal = layer['portal']
>>> portal
<PloneSite at /plone>

diff --git a/Products/CMFQuickInstallerTool/tests/profiles.txt b/Products/CMFQuickInstallerTool/tests/profiles.txt
index 7a85c3d..ec7e58c 100644
--- a/Products/CMFQuickInstallerTool/tests/profiles.txt
+++ b/Products/CMFQuickInstallerTool/tests/profiles.txt
@@ -68,6 +68,11 @@ We now expect to see Products.Product1 and Products.Product2 in the list of
installable products, but not Products.Product3.

>>> installable = [x['id'] for x in qi.listInstallableProducts()]
- >>> self.failUnless('Products.Product1' in installable)
- >>> self.failUnless('Products.Product2' in installable)
- >>> self.failIf('Products.Product3' in installable)
+ >>> 'Products.Product1' in installable
+ True
+
+ >>> 'Products.Product2' in installable
+ True
+
2.3.1 (2015-05-31)
------------------
+ >>> 'Products.Product3' in installable
+ False
diff --git a/Products/CMFQuickInstallerTool/tests/test_install.py b/Products/CMFQuickInstallerTool/tests/test_install.py
index 143240d..d59c6f6 100644
--- a/Products/CMFQuickInstallerTool/tests/test_install.py
+++ b/Products/CMFQuickInstallerTool/tests/test_install.py
@@ -5,6 +5,7 @@
from Products.GenericSetup import EXTENSION, profile_registry
from plone.app import testing
from plone.testing import layered
+from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_FIXTURE

diff --git a/setup.py b/setup.py
index 0dadbc2..3104b16 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
from setuptools import find_packages
from Products.CMFQuickInstallerTool.QuickInstallerTool import QuickInstallerTool
from Products.CMFQuickInstallerTool.events import handleBeforeProfileImportEvent
@@ -17,7 +18,7 @@

class QuickInstallerCaseFixture(testing.PloneSandboxLayer):

-version = '2.3.1'
+version = '2.3.2.dev0'
- defaultBases = (testing.PLONE_FIXTURE, )
+ defaultBases = (PLONE_APP_CONTENTTYPES_FIXTURE, )

short_description = """\
Framework for content types as filesystem code and TTW (Zope/CMF/Plone)\
def setUpZope(self, app, configurationContext):
sm = zope.component.getSiteManager()
@@ -61,7 +62,7 @@ def test_suite():
for testfile in ['actions.txt', 'profiles.txt', 'install.txt']:
suite.addTest(layered(
doctest.DocFileSuite(
- 'actions.txt',
+ testfile,
package='Products.CMFQuickInstallerTool.tests',
optionflags=OPTIONFLAGS),
layer=CQI_FUNCTIONAL_TESTING))


0 comments on commit 72320ff

Please sign in to comment.