Commit Graph

53 Commits (f5f434f846550e14abbb1244a71bd729e8f033b4)

Author SHA1 Message Date
Yaroslav Halchenko 0141a6dbe7 TST: add few more rudimentary tests for Regex to complete its coverage
11 years ago
Daniel Black 2a67ef519c TST: missing logpath raises IOError
11 years ago
Daniel Black c13b91fa70 TST: separate out DNS based IgnoreIP tests
11 years ago
Daniel Black ebf4a02004 TST: get/set use DNS on Filters
11 years ago
Daniel Black b576c4718d TST: add test cases for Actions
11 years ago
Daniel Black 13a12589a3 BF: full traceback on fail2ban-testcases needs to set formatter
11 years ago
Daniel Black 911eb45557 TST pragma: no cover for missing json or for py2.5 json
11 years ago
Yaroslav Halchenko f1adf75b59 ENH: basic testing for iso8601 code which had no explicit tests + spit out ValueError for incorrect type of input and ParseError otherwise
11 years ago
Steven Hiscocks 1116f23151 TST: Sample log regex test now warns if no log for a filter
12 years ago
Steven Hiscocks 94376bfbe1 TST: Handle lack of `json` library in python2.5 for samples test case
12 years ago
Steven Hiscocks 40f67c64b8 TST: Test sample logs' entries are matched by filter regexs
12 years ago
Yaroslav Halchenko 404574499d BF: fail2ban-testcases -- use full "warning" instead of warn for the verbosity dictionary
12 years ago
Yaroslav Halchenko 97f9cfc0b0 ENH: 'heavydebug' level == 5 for even more debugging in tricky cases
12 years ago
Yaroslav Halchenko 571ff33fde ENH: issue a warning if jail name is longer than 19 symbols (Close #222)
12 years ago
Yaroslav Halchenko dc05eee0f5 TST: Some primarily smoke tests for tests utils
12 years ago
Yaroslav Halchenko 26715d5e5e ENH: basic test for setup.py itself (when applicable, should greatly improve coverage ;) )
12 years ago
Yaroslav Halchenko 90d6a4a6cd ENH: consistent operation of formatExceptionInfo + unittest for it
12 years ago
Yaroslav Halchenko 52af29a080 ENH: adding ability to incorporate tracebacks into log lines while running tests
12 years ago
Yaroslav Halchenko 755f27493e Merge branch '_tent/conf_d'. fixes #114
12 years ago
Steven Hiscocks ec87e3edbd TST: Break out server testcases that modify logging settings
12 years ago
Steven Hiscocks d4362859ef Added testcase for csocket and asyncserver
12 years ago
Daniel Black 3665e6dc44 Add development documentation and framework for code coverage measurement
12 years ago
Steven Hiscocks 088e40c481 Rewrite and enable server testcase for Transmitter
12 years ago
Yaroslav Halchenko 9ba27353b6 NF: allow customization configuration under corresponding .d directories (Closes gh-114)
12 years ago
Orion Poplawski 431489c9b9 Remove unneeded setting of opts.no_network
12 years ago
Orion Poplawski fdd9dfb4b5 Initial support for --no-network option for fail2ban-testcases
12 years ago
Yaroslav Halchenko 7bd977e2df ENH: fail2ban-testscases -- allow to specify regexps for tests to be ran
12 years ago
Yaroslav Halchenko 03b31398aa ENH: BF (forgotten import) for prev commit + removed duplicate Author, adjusted __ fields for that in fail2ban-* scripts
12 years ago
Yaroslav Halchenko 39172a99c5 BF: added a little shell script to excercise tests against all available Python versions
12 years ago
Yaroslav Halchenko 5becaf8ef2 BF: (python 2.[45]) store backends names in a list to use .index later on (Closes gh-83)
12 years ago
Yaroslav Halchenko 9510619b7b ENH: minor -- print out why skipping a backend while testing
12 years ago
Yaroslav Halchenko 481b1530d6 RF: reordered tests + enabled gamin now that its fix is pending in Debian
13 years ago
Yaroslav Halchenko 08564bda1a ENH: fail2ban-testcases -- custom logging format to ease debugging, non-0 exit code in case of failure
13 years ago
Yaroslav Halchenko 0b842272e3 ENH: extended test LogfileMonitor
13 years ago
Yaroslav Halchenko 9a2b41f6ad ENH: add more verbosity levels to be controlled while running unittests
13 years ago
Yaroslav Halchenko 215c3cc5c5 ENH: added a basic test for FilterPoll for detection of modifications
13 years ago
Yaroslav Halchenko d0a322f2b8 ENH: be able to control verbosity from cmdline for fail2ban-testcases
13 years ago
Leonardo Chiquitto a7d47e8b36 Update Free Software Foundation's address
13 years ago
Yaroslav Halchenko 441cd891bc NF: adding unittests for previous commit
13 years ago
Yaroslav Halchenko ed6daa70bf ENH: modelines for emacs and vim to assure consistent indentation scheme (tabs)
13 years ago
Yaroslav Halchenko 5a2d518bf2 BF: set TZ to CEST while unittesting so dates matching would work
13 years ago
Cyril Jaquier a257fdc87d - Call Python interpreter directly (instead of using "env")
18 years ago
Cyril Jaquier ffc9c5d8f9 - Removed sys.path.insert as fail2ban-testcases is not installed
18 years ago
Cyril Jaquier ab3d2d1b9a - Now Fail2ban goes in /usr/share/fail2ban instead of /usr/lib/fail2ban. This is more compliant with FHS. Thanks to Axel Thimm and Yaroslav Halchenko
18 years ago
Cyril Jaquier 58acd9fb9f - Moved version.py and protocol.py to common/
18 years ago
Cyril Jaquier 5c668c8fed - Added action test case
18 years ago
Cyril Jaquier ee86212435 - Updated testcases to fix the time using MyTime
18 years ago
Cyril Jaquier 21b6e76cde - Added date detector
18 years ago
Cyril Jaquier 0326a94157 - Removed test which depends on current time
19 years ago
Cyril Jaquier 8af85f5c40 - Bug fix: '-', '_' and '.' are valid as action file
19 years ago