lodgeit: switch pastes to be private by default

Change-Id: I8d40c74d9dbb4899d705de05baca3b7a082c4dcc
Depends-On: https://review.opendev.org/c/opendev/lodgeit/+/828201
This commit is contained in:
Ian Wienand 2022-02-08 11:45:26 +11:00
parent 4fa0243458
commit de5011daf2
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ def test_paste(host):
'--resolve paste.opendev.org:443:127.0.0.1 '
'https://paste.opendev.org')
assert 'New Paste' in cmd.stdout
# ensure we paste private by default
assert '<input type="checkbox" name="private" id="private" checked>' \
in cmd.stdout
def test_paste_redirects(host):
# http site should redirect all agents but Pastebinit