mirror of https://github.com/fail2ban/fail2ban
testSetupInstallRoot will be always skipped, because of "wrong" location of 'setup.py';
parent
c5b5695eb9
commit
d62b046704
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue