From 8bd4a94a41f73fd3d4e48c58eac23c2973a60ac4 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 28 Mar 2018 17:25:11 +0200 Subject: [PATCH] dnsdist: Fix the console ACL test, assertRaises() is tricky! --- regression-tests.dnsdist/test_Console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-tests.dnsdist/test_Console.py b/regression-tests.dnsdist/test_Console.py index 8f1646a4dd..0ab8c8fdbe 100644 --- a/regression-tests.dnsdist/test_Console.py +++ b/regression-tests.dnsdist/test_Console.py @@ -40,4 +40,4 @@ class TestConsoleNotAllowed(DNSDistTest): """ Console: Not allowed by the ACL """ - self.assertRaises(SocketError, self.sendConsoleCommand('showVersion()')) + self.assertRaises(SocketError, self.sendConsoleCommand, 'showVersion()') -- 2.47.2