Skip to content

Commit 1192343

Browse files
committed
tests: one case from doas_test was invoking su
1 parent 8f99ebd commit 1192343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/doas_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_password_okay(self):
5757
username='mitogen__has_sudo',
5858
password='has_sudo_password',
5959
)
60-
context = self.router.su(via=ssh, password='rootpassword')
60+
context = self.router.doas(via=ssh, password='has_sudo_password')
6161
self.assertEquals(0, context.call(os.getuid))
6262

6363

0 commit comments

Comments
 (0)