[CMF-checkins] CVS: CMF - test_ListC.py:1.2.2.1 test_SIC.py:1.2.2.1 test_SSC.py:1.2.2.1

Martijn Pieters mj@digicool.com
Mon, 9 Apr 2001 11:48:06 -0400 (EDT)


Update of /cvs-repository/CMF/CMFTopic/tests
In directory korak:/tmp/cvs-serv5396/CMFTopic/tests

Modified Files:
      Tag: CMF-1_0-branch
	test_ListC.py test_SIC.py test_SSC.py 
Log Message:
Merge 'getId()' fix from trunk.



--- Updated File test_ListC.py in package CMF --
--- test_ListC.py	2001/03/06 15:16:11	1.2
+++ test_ListC.py	2001/04/09 15:48:04	1.2.2.1
@@ -15,7 +15,7 @@
     
     def test_Empty( self ):
         listc = LISTC('foo', 'foofield')
-        assert listc.id == 'foo'
+        assert listc.getId() == 'foo'
         assert listc.field == 'foofield'
         assert listc.value == ('',)
         assert len(listc.getCriteriaItems()) == 0
@@ -23,7 +23,7 @@
     def test_Nonempty( self ):
         listc = LISTC( 'foo', 'foofield' )
         listc.edit('bar\nbaz')
-        assert listc.id == 'foo'
+        assert listc.getId() == 'foo'
         assert listc.field == 'foofield'
         assert listc.value == ( 'bar', 'baz' )
         items =listc.getCriteriaItems()

--- Updated File test_SIC.py in package CMF --
--- test_SIC.py	2001/03/06 15:16:12	1.2
+++ test_SIC.py	2001/04/09 15:48:04	1.2.2.1
@@ -15,7 +15,7 @@
     
     def test_Empty( self ):
         sic = SIC('foo', 'foofield' )
-        assert sic.id == 'foo'
+        assert sic.getId() == 'foo'
         assert sic.field == 'foofield'
         assert sic.value == None
         assert len( sic.getCriteriaItems() ) == 0
@@ -23,7 +23,7 @@
     def test_Nonempty( self ):
         sic = SIC('foo', 'foofield')
         sic.edit('0')
-        assert sic.id == 'foo'
+        assert sic.getId() == 'foo'
         assert sic.field == 'foofield'
         assert sic.value == 0
         items =sic.getCriteriaItems()

--- Updated File test_SSC.py in package CMF --
--- test_SSC.py	2001/03/06 15:16:12	1.2
+++ test_SSC.py	2001/04/09 15:48:04	1.2.2.1
@@ -15,7 +15,7 @@
     
     def test_Empty( self ):
         ssc = SSC('foo', 'foofield')
-        assert ssc.id == 'foo'
+        assert ssc.getId() == 'foo'
         assert ssc.field == 'foofield'
         assert ssc.value == ''
         assert len( ssc.getCriteriaItems() ) == 0
@@ -23,7 +23,7 @@
     def test_Nonempty( self ):
         ssc = SSC('foo', 'foofield')
         ssc.edit('bar')
-        assert ssc.id == 'foo'
+        assert ssc.getId() == 'foo'
         assert ssc.field == 'foofield'
         assert ssc.value == 'bar'
         items =ssc.getCriteriaItems()