summaryrefslogtreecommitdiffhomepage
path: root/test/test_java_websockets.py (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-01-15Tests: pathlib used where appropriateAndrei Zeliankou1-0/+1
Also fixed various pylint errors and style issues.
2023-06-14Tests: get rid of classes in test files.Andrei Zeliankou1-987/+993
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-29Tests: more fixtures.Andrei Zeliankou1-3/+2
Common methods from applications/proto.py converted to the fixtures. sysctl check moved to the specific file where it is using. Some options moved to the constructor to have early access.
2023-05-25Tests: assertion related fixes.Andrei Zeliankou1-2/+2
2023-05-25Tests: removed unused variables.Andrei Zeliankou1-3/+3
2023-02-21Tests: switched to using f-strings.Andrei Zeliankou1-5/+5
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-46/+44
2021-10-18Tests: style.Andrei Zeliankou1-1/+0
2021-04-05Tests: style.Andrei Zeliankou1-96/+101
2021-03-24Tests: fixed racing condition in websocket test 5_15.Max Romanov1-3/+11
Test case: "send a text message split into two fragments, then a continuation frame with FIN = false where there is nothing to continue, then an unfragmented text message, all sent in one chop". The test case investigates immediate connection closing since there is no message to continue. The mirror server may send a response for the first frame before the test сontinuation frame is received by the router. In this case, the test will receive a text frame before the close frame.
2021-01-13Tests: style.Andrei Zeliankou1-1/+0
2020-12-08Tests: skip_alert() converted to the fixture.Andrei Zeliankou1-2/+2
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-2/+0
2020-10-07Tests: minor fixes.Andrei Zeliankou1-2/+4
2020-09-16Tests: migrated to the pytest.Andrei Zeliankou1-131/+94
2020-05-15Tests: style.Andrei Zeliankou1-1/+2
2020-04-24Tests: introduced module version specification in prerequisites.Andrei Zeliankou1-1/+1
2020-04-14Tests: minor fixes and style.Andrei Zeliankou1-13/+13
2020-04-03Tests: minor fixes.Andrei Zeliankou1-1/+1
2019-11-13Tests: fixed websocket tests.Andrei Zeliankou1-47/+14
2019-10-23Tests: improved handshake for websocket tests.Andrey Zelenkov1-1/+1
2019-09-14Tests: refactored prerequisites model.Andrey Zelenkov1-1/+1
2019-09-05Tests: Java websockets tests.Andrey Zelenkov1-0/+1469