summaryrefslogtreecommitdiffhomepage
path: root/test/test_static_mount.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-101/+105
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-6/+3
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-02-21Tests: switched to using f-strings.Andrei Zeliankou1-21/+21
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-04-11Tests: style.Andrei Zeliankou1-3/+1
2021-11-15Tests: refactored working with processes.Andrei Zeliankou1-9/+7
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-09-30Static: variables in the "share" option.Zhidao HONG1-7/+7
This commit supports variable in the "share" option, the finding path to file serve is the value from "share". An example: { "share": "/www/data/static$uri" }
2021-06-28Tests: renamed share to static.Andrei Zeliankou1-0/+140
Also minor style changes.