Skip to content

Commit 364df9d

Browse files
committed
Fixes #3460 securedrop-admin update integration test
1 parent 959647c commit 364df9d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

admin/tests/test_integration.py

+9
Original file line numberDiff line numberDiff line change
@@ -465,3 +465,12 @@ def test_check_for_update(self):
465465
'install_files/ansible-base '))
466466
child = pexpect.spawn(fullcmd)
467467
child.expect('Update needed', timeout=20)
468+
469+
def test_update(self):
470+
cmd = os.path.join(os.path.dirname(CURRENT_DIR),
471+
'securedrop_admin/__init__.py')
472+
child = pexpect.spawn('python {0} --root {1} update'.format(
473+
cmd, os.path.join(
474+
NEW_TMP_DIR,
475+
'install_files/ansible-base')))
476+
child.expect('Updated to SecureDrop', timeout=20)

0 commit comments

Comments
 (0)