Skip to content

Commit

Permalink
Fix triple asterisk in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBrandUWV authored and lucagiove committed May 24, 2024
1 parent fac8933 commit f87e62f
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 44 deletions.
104 changes: 66 additions & 38 deletions doc/RequestsLibrary.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/RequestsLibrary/RequestsKeywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def status_should_be(self, expected_status, response=None, msg=None):
For example when you have a nested keyword that is used for both OK and ERROR responses:
| *** Test Cases ***
| ***** Test Cases *****
|
| Test Get Request And Make Sure Is A 404 Response
| ${resp}= GET Custom Keyword That Returns OK or ERROR Response case=notfound
Expand All @@ -106,7 +106,7 @@ def status_should_be(self, expected_status, response=None, msg=None):
| Status Should Be 200 ${resp}
| Should Be Equal As Strings OK ${resp.reason}
|
| *** Keywords ***
| ***** Keywords *****
|
| GET Custom Keyword That Returns OK or ERROR Response
| [Arguments] $case
Expand Down
8 changes: 4 additions & 4 deletions src/RequestsLibrary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ class RequestsLibrary(RequestsOnSessionKeywords):
The quickest way to start is using the requests keywords and urls see below examples:
| *** Settings ***
| ***** Settings *****
| Library RequestsLibrary
|
| *** Test Cases ***
| ***** Test Cases *****
| Quick Get Request Test
| ${response}= GET https://www.google.com
|
Expand All @@ -47,13 +47,13 @@ class RequestsLibrary(RequestsOnSessionKeywords):
each requests.
Below some more advanced examples:
| *** Settings ***
| ***** Settings *****
| Library Collections
| Library RequestsLibrary
|
| Suite Setup Create Session jsonplaceholder https://jsonplaceholder.typicode.com
|
| *** Test Cases ***
| ***** Test Cases *****
|
| Get Request Test
| Create Session google http://www.google.com
Expand Down

0 comments on commit f87e62f

Please sign in to comment.