Commit Graph

32 Commits (ce6ca0029a79425976e60cc66aef3761f6c2008e)

Author SHA1 Message Date
Yaroslav Halchenko ba2538ba04 DOC: minor typos spotted around comments etc
7 years ago
sebres af126eb308 simplify fail2ban-testcases: move some code pieces inclusive option parser from fail2ban-testcases to tests/utils.py (+ coverage)
8 years ago
sebres f7f618b15d Let know the version (and python), also in travis (no output if verbosity is 0)
8 years ago
sebres cd6b528542 new test-cases option "--verbosity" to set numeric level of verbosity during test cases;
8 years ago
sebres 2b5c5103f4 safer multi-threaded execution inside (logging with lock inside LogCaptureTestCase logging handler);
8 years ago
sebres fcae05190f move common initializing functionality from fail2ban-testcases to tests/utils.py, to afford setting of default options by test execution from setup process.
8 years ago
sebres 461e9bab56 better handling of setup in test-cases (prevent execution of 2to3 twice, full logging in heavydebug, etc.)
8 years ago
sebres c8e7c1f7f4 BF: prefer sys.argv[0] by retrieving of root resp. bin path: __file__ seems to be overwritten sometimes on some python versions (e.g. bug of 2.6 by running under cProfile, etc.)
8 years ago
sebres 08af8de981 compatibility fix (virtualenv, running test cases in py3)
8 years ago
sebres 77f451c4a3 introduces new command "fail2ban-python", as automatically created symlink to python executable, where fail2ban currently installed (resp. its modules are located);
8 years ago
sebres 7242c9cbde code review after enhancements of Yaroslav
9 years ago
Yaroslav Halchenko 4df06f5352 ENH: testcases - verbosity > 2 now also includes logger name (to replace need for custom --s)
9 years ago
sebres 4c1bcac0c7 Merge branch '0.10' into f2b-perfom-prepare-716-cs-0.10
9 years ago
sebres 06dcad7650 fixed mixed indentation (spaces through tabs), duplicate code removed
9 years ago
Alexander Koeppe 975608dfb6 no hardcoded python interpreter path
9 years ago
sebres 53956501da increase readability and details level by increased verbosity
9 years ago
sebres 134c33cc6d fail2ban-testcases: added option "--ignore": negate [regexps] filter, to ignore tests matched specified regexps
9 years ago
sebres cf3cf27fa3 - filtering of test cases extended for method additionally to class (matches method only not whole class for regexp matched method name);
9 years ago
sebres 59bf5013c0 - performance of fail2ban optimized
9 years ago
Lee Clemens c7e203b20f Fix PEP8 E401 - multiple imports on one line
10 years ago
Yaroslav Halchenko 602239051b BF: reincarnated import of logging (used to obtain level constants)
11 years ago
Steven Hiscocks 4fc7f1a831 ENH: Tweak naming of getF2BLogger, and ensure consistent use
11 years ago
Steven Hiscocks 6a740f684a ENH: Move traceback formatter to from tests.utils to helpers
11 years ago
Steven Hiscocks 5630c56c75 ENH: Change logging levels and make info more verbose
11 years ago
Daniel Black 7c0efc8ec8 MRG: merge so far - flushLogs not working yet
11 years ago
Daniel Black 1f1a56174f MRG: merge from master
11 years ago
Steven Hiscocks 1eea0dcec8 Merge branch 'master' into 0.9
12 years ago
Yaroslav Halchenko 8487cb2e90 Merge commit '0.8.10-31-g1ab0f0f' into 0.9
12 years ago
Steven Hiscocks 9e684abad7 TST: Move test gathering to function is test utils
12 years ago
Steven Hiscocks 4cc3a81cc1 TST: Move test TZ changes to setUp and tearDown methods
12 years ago
Steven Hiscocks 8e0f5f8ea6 Merge branch '0.9' into module
12 years ago
Steven Hiscocks a153653a27 ENH+TST: Move fail2ban-* scripts to bin/
12 years ago