Skip to content

Commit

Permalink
Adds acceptance tests for CONNECT and TRACE (on session) keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBrandUWV committed May 7, 2024
1 parent 58eadb7 commit 5852431
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions atests/test_requests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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}
10 changes: 10 additions & 0 deletions atests/test_requests_on_session.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 5852431

Please sign in to comment.