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

Snippet of code missing in testing docs #2124

Closed
sontek opened this issue Nov 13, 2015 · 2 comments
Closed

Snippet of code missing in testing docs #2124

sontek opened this issue Nov 13, 2015 · 2 comments

Comments

@sontek
Copy link
Member

sontek commented Nov 13, 2015

The line of text says:

You'd then create a tests module within your myproject package, containing the following test code:

but then there is no code there.

The link is here:

http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/testing.html

Seems to be a build issue because when I build the docs locally the code is there and its there on the 1.6 branch docs as well.

@stevepiercy
Copy link
Member

I can repeat this locally. This appears only on RTD across at least three branches: master, 1.6-branch, 1.5-branch. I'll open an issue there. It appears to be an issue with rendering pyobject on RTD. Thanks for reporting!

@stevepiercy
Copy link
Member

It turns out that the source code was never added to the file which the literalinclude calls. So I added it to the master branch.

But then I tried following the example in the docs, and now we've realized that the integration test is wrong. I'm going to close this issue and the RTD issue as well.

If anyone cares to add a working integration test, please follow up in #2172.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants