Skip to content

Commit 6d0e531

Browse files
committed
See if explicit logout prevents fred from having a submit button.
I don't need this on my slow test machine, but perhaps it's a race condition.
1 parent 7b99438 commit 6d0e531

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_liveserver.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,11 @@ def test__generic_item_template(self):
950950
else:
951951
self.assertNotIn(b'<input name="submit_button" type="submit" value="Submit Changes">', f.content)
952952

953+
# try explicit logout to see if there is some carryover
954+
# between sessions
955+
f = session.get(self.url_base()+'/?@action=logout')
956+
self.assertIn(b"Remember me?", f.content)
957+
953958

954959
def test_new_issue_with_file_upload(self):
955960
# Set up session to manage cookies <insert blue monster here>

0 commit comments

Comments
 (0)