Commit graph

6 commits

Author SHA1 Message Date
Mr.X
1b1f93ae5c
Make test_ssti and test_xpath runnable standalone (#6136)
Some checks failed
/ build (macos-latest, 3.8) (push) Has been cancelled
/ build (ubuntu-latest, pypy-2.7) (push) Has been cancelled
/ build (windows-latest, 3.14) (push) Has been cancelled
Every tests/test_*.py file provides an

    if __name__ == "__main__":
        unittest.main(...)

entrypoint so it can be run directly, except test_ssti.py and
test_xpath.py. Running either of those directly produced no output and
executed none of its tests; they only ran under `unittest discover`.

Add the missing entrypoint to both so they behave like the rest of the
suite. No test logic changed (62 and 48 tests respectively still pass).
2026-10-05 23:54:39 +02:00
Miroslav Štampar
36ebce6935 Tons of stabilization of non-SQLi techniques 2026-07-23 12:15:45 +02:00
Miroslav Štampar
71d9c6d0f4 Stabilization of unittests 2026-07-02 22:31:01 +02:00
Miroslav Štampar
fd7eaf107b Minor fix 2026-06-29 23:36:02 +02:00
Miroslav Štampar
7b60bc8284 Minor improvements 2026-06-29 22:20:22 +02:00
Miroslav Štampar
8ff5d3811a Adding switch --xpath 2026-06-29 00:29:27 +02:00