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:
parent
4fa0243458
commit
de5011daf2
@ -31,6 +31,9 @@ def test_paste(host):
|
|||||||
'--resolve paste.opendev.org:443:127.0.0.1 '
|
'--resolve paste.opendev.org:443:127.0.0.1 '
|
||||||
'https://paste.opendev.org')
|
'https://paste.opendev.org')
|
||||||
assert 'New Paste' in cmd.stdout
|
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):
|
def test_paste_redirects(host):
|
||||||
# http site should redirect all agents but Pastebinit
|
# http site should redirect all agents but Pastebinit
|
||||||
|
Loading…
Reference in New Issue
Block a user