summaryrefslogtreecommitdiffhomepage
path: root/test/test_upstreams_rr.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-409/+423
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: 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-25Tests: unified setup method usage.Andrei Zeliankou1-1/+3
To make fixtures accessible inside of setup methods in tests all these methods are renamed to the "setup_method_fixture" and decorated by autouse flag. Also all setup methods moved to the top of the files.
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-8/+8
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-10-11Tests: don't try to return response when "no_recv" is True.Andrei Zeliankou1-5/+3
2022-04-11Tests: style.Andrei Zeliankou1-1/+2
2021-12-12Tests: fixed type of applications.Andrei Zeliankou1-1/+1
2020-12-06Tests: options moved to the separate class.Andrei Zeliankou1-1/+1
This change is necessary to separate the logic and prevent possible circular dependency.
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-5/+3
2020-10-07Tests: minor fixes.Andrei Zeliankou1-1/+1
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-346/+248
2020-05-15Tests: style.Andrei Zeliankou1-1/+1
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2020-04-03Tests: use "return" action in upstream tests.Andrei Zeliankou1-74/+100
2020-03-30Tests: added tests for rational numbers in upstream server weight.Andrei Zeliankou1-11/+97
2020-03-12Tests: round robin upstream tests.Andrei Zeliankou1-0/+465