Commit Graph

5 Commits

Author SHA1 Message Date
ac622813b2 pytests: Ignore log errors/warnings per function.
It's easier to control errors at the function scope and it avoids ignored
errors/warnings to propagate to the following tests (i.e. mask further
unexpected errors).

github: closes #371



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910844 13f79535-47bb-0310-9956-ffa450edef68
2023-07-07 08:21:21 +00:00
cbb10f366c *) tests: load the top-level mod_aptest in all test suites.
- aptest logs the test name from the header 'AP-Test-Name' with
       the request line. LogLevel aptest:info is switched on.
     - pytest sets 'AP-Test-Name' for all curl/nghttp invocation
       against the server.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904188 13f79535-47bb-0310-9956-ffa450edef68
2022-09-21 11:03:44 +00:00
fd47fda1a1 *) test: making pytest option --repeat global as otherwise
there are conflicts when individual modules add that.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899198 13f79535-47bb-0310-9956-ffa450edef68
2022-03-25 13:44:41 +00:00
7b83bd03a9 * test: update of python test framework after integration with mod_md
test suite that should come here soonish. 



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894599 13f79535-47bb-0310-9956-ffa450edef68
2021-10-28 12:50:02 +00:00
ded853c7ca * test infrastruture:
- moved common pytest code into test/pyhttpd
   - does basic setup for a list of host names and some htdocs
   - added modules/core and moved encoding tests from http2 there
   - all test methods have module name in in prefix now, so to test only core, run
     > pytest -k test_core



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894134 13f79535-47bb-0310-9956-ffa450edef68
2021-10-11 14:08:57 +00:00