Andrei Zeliankou
c183bd8749
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.
2023-06-14 18:20:09 +01:00
Andrei Zeliankou
7934dcabbc
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.
2023-02-21 17:21:29 +00:00
Max Romanov
b424a00ec5
Tests: PHP shared opcache test added.
2021-11-09 15:48:44 +03:00
Andrei Zeliankou
07789a23e9
Tests: options moved to the separate class.
...
This change is necessary to separate the logic
and prevent possible circular dependency.
2020-12-06 16:01:59 +00:00
Tiago Natel de Moura
0390cb3a61
Isolation: mounting of procfs by default when using "rootfs".
2020-10-29 20:30:53 +00:00
Max Romanov
6a00bab41e
Tests: improving get_application_type() and fixing its name.
...
This patch also enables multiversion tests running for Java.
2020-10-28 00:01:46 +03:00
Andrei Zeliankou
6ec0ff3596
Tests: minor fixes.
2020-10-07 23:18:43 +01:00
Valentin Bartenev
645683f432
Tests: fixed loading selected module version.
...
Previously, for PHP, Ruby, and Perl the latest version was always loaded
in multi-version tests.
2020-10-07 22:04:54 +03:00
Andrei Zeliankou
d5e9159340
Tests: migrated to the pytest.
2020-09-16 21:31:15 +01:00
Tiago Natel de Moura
80763b3e64
Tests: chdir() and open() for PHP module.
...
These tests ensure optimizations in the chdir calls don't break
SAPI semantics.
2020-03-03 18:53:26 +00:00
Tiago Natel
abbad122bb
Tests: added support for testing "user" and "group".
2019-11-11 14:35:29 +00:00
Andrey Zelenkov
c8c259b972
Tests: rerun tests for each module version.
...
Rerun supported for Python, PHP, Perl, Ruby, and Java modules.
2019-08-06 18:25:13 +03:00
Andrey Zelenkov
644e6df687
Tests: check application configuration loading.
2019-04-26 17:35:26 +03:00
Valentin Bartenev
c1a3b06d03
Tests: using "pass" option instead of deprecated "application".
2019-04-22 18:20:53 +03:00
Andrey Zelenkov
19eba1730a
Tests: unit module refactoring.
2019-03-28 18:43:13 +03:00