From 64d1502d48e61aed6714e6bc495ad505e77502f0 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sat, 15 Mar 2014 11:09:55 +1100 Subject: [PATCH] TST: learn to spell executable --- fail2ban/tests/filtertestcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/tests/filtertestcase.py b/fail2ban/tests/filtertestcase.py index fab6fede..01e91566 100644 --- a/fail2ban/tests/filtertestcase.py +++ b/fail2ban/tests/filtertestcase.py @@ -260,7 +260,7 @@ class IgnoreIP(LogCaptureTestCase): self.assertTrue(self._is_logged('Requested to manually ban an ignored IP 192.168.1.32. User knows best. Proceeding to ban it.')) def testIgnoreCommand(self): - self.filter.setIgnoreCommand(sys.exectuable + ' ' + os.path.join(TEST_FILES_DIR, "ignorecommand.py ")) + self.filter.setIgnoreCommand(sys.executable + ' ' + os.path.join(TEST_FILES_DIR, "ignorecommand.py ")) self.assertTrue(self.filter.inIgnoreIPList("10.0.0.1")) self.assertFalse(self.filter.inIgnoreIPList("10.0.0.0"))