We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
securedrop-admin update
1 parent 959647c commit 364df9dCopy full SHA for 364df9d
admin/tests/test_integration.py
@@ -465,3 +465,12 @@ def test_check_for_update(self):
465
'install_files/ansible-base '))
466
child = pexpect.spawn(fullcmd)
467
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