summaryrefslogtreecommitdiffhomepage
path: root/test/test_go_application.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-01-15Tests: pathlib used where appropriateAndrei Zeliankou1-1/+1
Also fixed various pylint errors and style issues.
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-117/+124
Class usage came from the unittest framework and it was always redundant after migration to the pytest. This commit removes classes from files containing tests to make them more readable and understandable.
2023-06-12Tests: removed alert skip, unnecessary after 1a48ea61fec8.Andrei Zeliankou1-4/+0
2023-06-12Tests: prerequisites checking reworked.Andrei Zeliankou1-2/+2
Prerequisites check moved to the module level to simplify class structure. Discovery and prerequisites checks functions moved to the separate files. Introduced "require" fixture to provide per-test requirements check.
2023-05-29Tests: more fixtures.Andrei Zeliankou1-4/+2
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have early access.
2023-05-25Tests: removed unused variables.Andrei Zeliankou1-1/+1
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-3/+3
Previously, it was necessary to support older versions of Python for compatibility. F-strings were released in Python 3.6. Python 3.5 was marked as unsupported by the end of 2020, so now it's possible to start using f-strings safely for better readability and performance.
2022-09-07Tests: minor fixes.Andrei Zeliankou1-11/+1
2022-04-11Tests: style.Andrei Zeliankou1-6/+2
2022-01-31Tests: removed TestApplicationTLS.get_server_certificate().Andrei Zeliankou1-1/+0
distutils.version is replaced by packaging.version. Also minor style fixes.
2021-11-09Tests: app prototype related fixes.Max Romanov1-0/+6
2021-04-05Tests: style.Andrei Zeliankou1-5/+3
2021-01-14Tests: added missing checks for configuration results.Andrei Zeliankou1-4/+4
2020-10-07Tests: minor fixes.Andrei Zeliankou1-1/+2
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-63/+50
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2020-04-14Tests: minor fixes and style.Andrei Zeliankou1-4/+6
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov1-1/+1
2019-05-30Tests: adjusted skipping tests.Andrey Zelenkov1-1/+0
2019-04-09Tests: speed up tests.Andrey Zelenkov1-0/+3
2019-04-09Tests: simplified module checking.Andrey Zelenkov1-2/+1
2019-03-28Tests: unit module refactoring.Andrey Zelenkov1-4/+4
2019-03-26Tests: style.Andrey Zelenkov1-54/+90
2019-02-27Tests: added "Host" and "Connetion" headers where necessary.Andrey Zelenkov1-8/+10
Also minor header organizing.
2018-12-25Tests: removed skipping Go tests on x86.Andrey Zelenkov1-6/+1
2018-11-15Tests: added command line arguments parsing in tests.Andrey Zelenkov1-1/+1
Added the following command line arguments: -d, --detailed: Show detailed output for tests Usage examples: ./test/run.py --detailed python3 test/test_access_log.py --detailed python3 test/test_access_log.py -d TestUnitAccessLog.test_access_log_ipv6 -l, --log: Save unit.log after the test execution Usage examples: ./test/run.py -l python3 test/test_access_log.py -l python3 test/test_access_log.py --log TestUnitAccessLog.test_access_log_ipv6
2018-09-06Tests: used relative path for configuration.Andrey Zelenkov1-4/+4
2018-06-08Tests: Go application tests.Andrey Zelenkov1-0/+154