From 5852431b2715a8624642ccce6a31d8e2089b8bdd Mon Sep 17 00:00:00 2001 From: Paul Brand Date: Tue, 7 May 2024 10:40:40 +0200 Subject: [PATCH] Adds acceptance tests for CONNECT and TRACE (on session) keywords --- atests/test_requests.robot | 9 +++++++++ atests/test_requests_on_session.robot | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/atests/test_requests.robot b/atests/test_requests.robot index 45ab9a0..2ae337f 100644 --- a/atests/test_requests.robot +++ b/atests/test_requests.robot @@ -276,3 +276,12 @@ Options Request Expect A Success On Unauthorized Request ${resp}= OPTIONS ${HTTP_LOCAL_SERVER}/status/401 expected_status=200 Status Should Be OK ${resp} +Connect Request + [Tags] connect + ${resp}= CONNECT ${HTTP_LOCAL_SERVER}/anything + Status Should Be OK ${resp} + +Trace Request + [Tags] trace + ${resp}= TRACE ${HTTP_LOCAL_SERVER}/anything + Status Should Be OK ${resp} \ No newline at end of file diff --git a/atests/test_requests_on_session.robot b/atests/test_requests_on_session.robot index c1719fd..4ddd89e 100644 --- a/atests/test_requests_on_session.robot +++ b/atests/test_requests_on_session.robot @@ -273,3 +273,13 @@ Options Request Expect A Success On Unauthorized Request [Tags] options ${resp}= OPTIONS On Session ${GLOBAL_SESSION} /status/401 expected_status=200 Status Should Be OK ${resp} + +Connect Request On Existing Session + [Tags] connect + ${resp}= CONNECT On Session ${GLOBAL_SESSION} /anything + Status Should Be OK ${resp} + +Trace Request On Existing Session + [Tags] trace + ${resp}= TRACE On Session ${GLOBAL_SESSION} /anything + Status Should Be OK ${resp} \ No newline at end of file