Changeset 5686

Show
Ignore:
Timestamp:
11/16/08 17:02:09 (2 months ago)
Author:
faide
Message:

Fixed the unit tests of the quickstarted app...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/turbogears/qstemplates/quickstart/+package+/tests/test_controllers.py_tmpl

    r5460 r5686  
    11import unittest 
     2import datetime 
    23from turbogears import testutil 
    34from ${package}.controllers import Root 
     
    1415        """The index method should return a string called 'now'""" 
    1516        response = self.app.get('/') 
    16         assert isinstance(response.raw['now'], str
     17        assert isinstance(response.raw['now'], datetime.datetime
    1718 
    1819    def test_index_title(self):