tests: one case from doas_test was invoking su

This commit is contained in:
David Wilson 2019-08-17 14:35:03 +01:00
parent 8f99ebdf6f
commit 11923431a6
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class DoasTest(testlib.DockerMixin, testlib.TestCase):
username='mitogen__has_sudo',
password='has_sudo_password',
)
context = self.router.su(via=ssh, password='rootpassword')
context = self.router.doas(via=ssh, password='has_sudo_password')
self.assertEquals(0, context.call(os.getuid))