Skip to content

Commit

Permalink
run all doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Jun 2, 2015
1 parent ee144f9 commit 2eb8af5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions Products/CMFQuickInstallerTool/tests/profiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Products/CMFQuickInstallerTool/tests/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2eb8af5

Please sign in to comment.