File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ def test_0_Session(self):
183183 self .getPage ('/length' , self .cookies )
184184 assert self .body == b'2'
185185 self .getPage ('/delkey?key=counter' , self .cookies )
186- assert self .status == 200
186+ assert self .status_code == 200
187187
188188 self .getPage ('/set_session_cls/cherrypy.lib.sessions.FileSession' )
189189 self .getPage ('/testStr' )
@@ -193,7 +193,7 @@ def test_0_Session(self):
193193 self .getPage ('/testStr' , self .cookies )
194194 assert self .body == b'3'
195195 self .getPage ('/delkey?key=counter' , self .cookies )
196- assert self .status == 200
196+ assert self .status_code == 200
197197
198198 # Wait for the session.timeout (1 second)
199199 time .sleep (2 )
@@ -475,7 +475,7 @@ def test_0_Session(self):
475475 self .assertErrorPage (500 )
476476 assert b'NotImplementedError' in self .body
477477 self .getPage ('/delkey?key=counter' , self .cookies )
478- assert self .status == 200
478+ assert self .status_code == 200
479479
480480 # Wait for the session.timeout (1 second)
481481 time .sleep (1.25 )
You can’t perform that action at this time.
0 commit comments