summaryrefslogtreecommitdiffhomepage
path: root/test/test_static_fallback.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-8/+9
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-01-31Tests: removed TestApplicationTLS.get_server_certificate().Andrei Zeliankou1-1/+4
distutils.version is replaced by packaging.version. Also minor style fixes.
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-09-30Static: variables in the "share" option.Zhidao HONG1-3/+3
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-18/+19
Also minor style changes.
2021-04-05Tests: style.Andrei Zeliankou1-4/+2
2021-02-08Tests: added "--restart" option.Andrei Zeliankou1-1/+6
Now Unit do not restart after each test by default.
2020-12-08Tests: skip_alert() converted to the fixture.Andrei Zeliankou1-2/+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-14/+11
2020-10-07Tests: minor fixes.Andrei Zeliankou1-1/+1
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-68/+57
2020-03-27Tests: added tests for "return" action.Andrei Zeliankou1-114/+57
2020-03-19Tests: fixed prerequisite in test_share_fallback.py.Andrei Zeliankou1-3/+3
2020-05-15Tests: style.Andrei Zeliankou1-1/+1
2020-04-20Tests: skips adjusted.Andrei Zeliankou1-8/+13
2020-03-03Tests: added tests for "fallback" option for the "share" action.Andrei Zeliankou1-0/+212