History log of /unit/test/test_python_environment.py (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2491:aae60837ac20 14-Jun-2023 Andrei Zeliankou

Tests: get rid of classes in test files.

Class usage came from the unittest framework and it was always redundant
after migration to the pytest. This commit removes classes from files
containing te

Tests: get rid of classes in test files.

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.

show more ...


# 2488:55440e02a873 12-Jun-2023 Andrei Zeliankou

Tests: prerequisites checking reworked.

Prerequisites check moved to the module level to simplify class structure.
Discovery and prerequisites checks functions moved to the separate files.
Introduce

Tests: prerequisites checking reworked.

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.

show more ...


Revision tags: 1.30.0-1, 1.30.0, 1.29.1-1, 1.29.1
# 2330:4b1f175f9c88 21-Feb-2023 Andrei Zeliankou

Tests: switched to using f-strings.

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

Tests: switched to using f-strings.

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.

show more ...


Revision tags: 1.29.0-1, 1.29.0, 1.28.0-1, 1.28.0, 1.27.0-1, 1.27.0, 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0, 1.24.0-1, 1.24.0, 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0, 1.21.0-1, 1.21.0, 1.20.0-1, 1.20.0
# 1596:b7e2d4d92624 16-Sep-2020 Andrei Zeliankou

Tests: migrated to the pytest.


Revision tags: 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0
# 1467:195fe0a92670 24-Apr-2020 Andrei Zeliankou

Tests: introduced module version specification in prerequisites.


Revision tags: 1.17.0-1, 1.17.0, 1.16.0-1, 1.16.0, 1.15.0-1, 1.15.0, 1.14.0-1, 1.14.0
# 1293:40251b822c85 09-Nov-2019 Tiago Natel

Tests: fixed tests to run as root.

- The mode of testdir was changed to allow reading from other users/groups.
- The java multipart test now uploads the file into an app writable dir.
- The build di

Tests: fixed tests to run as root.

- The mode of testdir was changed to allow reading from other users/groups.
- The java multipart test now uploads the file into an app writable dir.
- The build directory was made readable for other users.
- The python environment test now uses the HOME env var instead of PWD
because the latter is not set by the root shell (/bin/sh) by default.
- The node `node_modules` directory now is copied into the `testdir` instead
of using symlinks.

show more ...


Revision tags: 1.13.0-1, 1.13.0, 1.12.0-1, 1.12.0, 1.11.0-2, 1.11.0-1, 1.11.0
# 1165:998b521bbdb8 14-Sep-2019 Andrey Zelenkov

Tests: refactored prerequisites model.


Revision tags: 1.10.0-2, 1.10.0-1, 1.10.0, 1.9.0-1, 1.9.0
# 1025:3469f5185562 09-Apr-2019 Andrey Zelenkov

Tests: simplified module checking.


# 1019:61d90b4da691 28-Mar-2019 Andrey Zelenkov

Tests: unit module refactoring.


# 1017:887a4bbabf1e 26-Mar-2019 Andrey Zelenkov

Tests: style.


Revision tags: 1.8.0-1, 1.8.0, 1.7.1-1, 1.7.1, 1.7-1, 1.7
# 853:a8359dce963e 15-Nov-2018 Andrey Zelenkov

Tests: added command line arguments parsing in tests.

Added the following command line arguments:

-d, --detailed: Show detailed output for tests

Usage examples:

./test/run.py --detailed

Tests: added command line arguments parsing in tests.

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

show more ...


Revision tags: 1.6-1, 1.6, 1.5-1, 1.5, 1.4-2, 1.4
# 760:18943cf07343 06-Sep-2018 Andrey Zelenkov

Tests: used relative path for configuration.


Revision tags: 1.3, 1.2
# 679:a6ee16204cc9 29-May-2018 Andrey Zelenkov

Tests: configuration of environment variables.