Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix triple asterisk in documentation #395

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading