[CMF-checkins] CVS: CMF/CMFSetup/tests - test_tool.py:1.7
Tres Seaver
tseaver at zope.com
Mon May 24 10:37:21 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/tests
In directory cvs.zope.org:/tmp/cvs-serv23784/tests
Modified Files:
test_tool.py
Log Message:
- __init__.py:
o Register tool for adding via the ZMI.
- context.py:
o Add accessor for archive filename to TarballExportContext.
- tool.py:
o Add ZMI for properties, importing, and exporting (import actions
still shimmed out).
o Rename export / import XML files (no hyphens in filenames!)
o Allow calling 'getProfileDirectory( relative_to_product=True )'
even if no product is assigned (eases ZMI usage).
- profiles/default/*.xml:
o Initial dump of "stock" CMF config for current steps.
- tests/default_profile/*.xml:
o Rename export / import XML files (no hyphens in filenames!)
=== CMF/CMFSetup/tests/test_tool.py 1.6 => 1.7 ===
--- CMF/CMFSetup/tests/test_tool.py:1.6 Sun May 23 21:52:43 2004
+++ CMF/CMFSetup/tests/test_tool.py Mon May 24 10:36:50 2004
@@ -73,7 +73,7 @@
tool.setProfileDirectory( self._PROFILE_PATH )
- self.assertRaises( ValueError, tool.getProfileDirectory, True )
+ self.assertEqual( tool.getProfileDirectory( True ), self._PROFILE_PATH )
def test_setProfileDirectory_absolute_invalid( self ):
More information about the CMF-checkins
mailing list