<s> from correx . tests import ChangeTestCase <EOL> from correx . models import Change , ChangeType <EOL> class CorrexModelTests ( ChangeTestCase ) : <EOL> def testSave ( self ) : <EOL> """<STR_LIT>""" <EOL> for c in self . createSomeChanges ( ) : <EOL> self . failIfEqual ( c . pub_date , None ) <EOL> c . save ( ) <EOL> def testCount ( self ) : <EOL> """<STR_LIT>""" <EOL> for c in ChangeType . objects . all ( ) : <EOL> c . count_changes ( ) <EOL> self . assertEquals ( c . change_count , c . change_set . filter ( is_public = True ) . count ( ) ) </s>
