def test_isotime():
 time = datetime(2009, 12, 25, 10, 11, 12)
 eq_(isotime(time), '2009-12-25T18:11:12Z')
 assert (isotime(None) is None)

def test_isotime ( ) : time = datetime ( 2009 , 12 , 25 , 10 , 11 , 12 ) eq_ ( isotime ( time ) , '2009-12-25T18:11:12Z' ) assert ( isotime ( None ) is None )
test isotime helper .