docs: test most requests.rst literalinclude#4099
docs: test most requests.rst literalinclude#4099provinzkraut merged 7 commits intolitestar-org:mainfrom
Conversation
|
Not sure about this one. This would include all the test cases in the examples given in the docs, making them quite cluttered. I think I'd prefer having them separated. It also breaks with the pattern of having them in |
|
oO I entirely missed this test folder and I'll adapt to using it. this said this is contradictory with #3362 where we have some test in docs/examples/.../test_xxx.py 2 proposals to make it consistent:
|
Ah, I think I was misunderstanding what you were proposing there. Sorry for the confusion.
That's the general idea, and I think how it's done for all things that use
I like the idea! |
provinzkraut
left a comment
There was a problem hiding this comment.
One thing: Maybe use something simpler than calculating the sha? It's a bit too specific and distracts from the actual content. Maybe just return the size instead?
|
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/4099 |
Description
test_prefixmake test-examplescommand take them into accountCloses
Fixes #2940