From 11923431a6e39bbb44b971970a33ce3288217cb6 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sat, 17 Aug 2019 14:35:03 +0100 Subject: [PATCH] tests: one case from doas_test was invoking su --- tests/doas_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/doas_test.py b/tests/doas_test.py index 560ada99..73758476 100644 --- a/tests/doas_test.py +++ b/tests/doas_test.py @@ -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))