mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-10-24 13:20:57 +00:00
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:
parent
e53bfafd6a
commit
e3bd2042eb
36 changed files with 45 additions and 35 deletions
9
setup.py
9
setup.py
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue