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
Update docs with cookie information #2
Conversation
[requests](http://docs.python-requests.org/en/master/api/#requests.request) | ||
under the hood, and uses a persistent `Session` for each test. This means that | ||
cookies are propagated forward to further stages of a test. Cookies can also be | ||
required to pass a test. For example, say we have a server that returns a cookie |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention where the source for this test is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which source? This is just an example of a server that would behave like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example/cookies/
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is just an example implementation of the server in python - it doesn't really relate to the documentation. There aren't implementations for any of the other examples
``` | ||
|
||
This test ensures that a cookie called `session-cookie` is returned from the | ||
'login' stage, and this cookie will be sent with all future stages of that test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the term test
well defined in the document?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure?
taverntesting/tavern#28