#NEWLINE# def test_promote( self ) : #NEWLINE# #INDENT# time = TimeMock ( 42 ) #NEWLINE# s = SessionMixin ( expiry = 10 , time_module = time ) #NEWLINE# s . promote ( ) #NEWLINE# self . assertEquals ( s . expiry_date , 52 )