From d62b0467048d7d6ec57e66b9fc9a65acfded0010 Mon Sep 17 00:00:00 2001 From: sebres Date: Wed, 3 Dec 2014 14:45:46 +0100 Subject: [PATCH] testSetupInstallRoot will be always skipped, because of "wrong" location of 'setup.py'; --- fail2ban/tests/misctestcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/tests/misctestcase.py b/fail2ban/tests/misctestcase.py index 64b6b65e..4bb4b02f 100644 --- a/fail2ban/tests/misctestcase.py +++ b/fail2ban/tests/misctestcase.py @@ -67,7 +67,7 @@ def recursive_glob(treeroot, pattern): class SetupTest(unittest.TestCase): def setUp(self): - setup = os.path.join(os.path.dirname(__file__), '..', 'setup.py') + setup = os.path.join(os.path.dirname(__file__), '..', '..', 'setup.py') self.setup = os.path.exists(setup) and setup or None if not self.setup and sys.version_info >= (2,7): # running not out of the source raise unittest.SkipTest(