TST+ENH: Move testcases to part of fail2ban module

This allows fail2ban-testcases to be run on an installed fail2ban
instance.
TODO: Fix tests requiring config files
This commit is contained in:
Steven Hiscocks 2013-04-01 11:22:40 +01:00
parent e53bfafd6a
commit e3bd2042eb
36 changed files with 45 additions and 35 deletions

View file

@ -49,13 +49,18 @@ setup(
scripts = [
'fail2ban-client',
'fail2ban-server',
'fail2ban-regex'
'fail2ban-regex',
'fail2ban-testcases',
],
packages = [
'fail2ban',
'fail2ban.client',
'fail2ban.server'
'fail2ban.server',
'fail2ban.tests',
],
package_data = {
'fail2ban.tests': ['files/*.log'],
},
data_files = [
('/etc/fail2ban',
glob("config/*.conf")