summaryrefslogtreecommitdiffhomepage
path: root/test/test_return.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-201/+207
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/+0
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-05-25Tests: removed unused variables.Andrei Zeliankou1-2/+2
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-6/+6
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-05-16Tests: Added tests for empty "location".Alejandro Colomar1-0/+15
2022-04-28Tests: Added tests for variables in "location".Alejandro Colomar1-0/+19
2022-04-28Tests: Changed tests to accept variables in "location".Alejandro Colomar1-4/+4
2020-10-19Tests: fixed unit.log print.Andrei Zeliankou1-2/+0
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-78/+62
2020-05-15Tests: style.Andrei Zeliankou1-1/+1
2020-04-03Tests: minor fixes.Andrei Zeliankou1-0/+1
2020-03-30Tests: added tests for rational numbers in upstream server weight.Andrei Zeliankou1-1/+1
2020-03-27Tests: added tests for "location" option.Andrei Zeliankou1-0/+94
2020-03-27Tests: added tests for "return" action.Andrei Zeliankou1-0/+103