-
Notifications
You must be signed in to change notification settings - Fork 1k
Refactor readme rendering logic #3760
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
Conversation
Gentle ping on this. |
@aalmazan can you review this, if you have time? |
I am (very slowly) reviewing & testing this. |
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.
LGTM aside from a very small nitpick
tests/unit/packaging/test_views.py
Outdated
@@ -180,6 +180,7 @@ def test_detail_renders(self, db_request): | |||
"project": project, | |||
"release": releases[1], | |||
"files": [files[1]], | |||
"description": None, |
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.
Could you add a description
to the ReleaseFactory.create
call above, monkeypatch readme.render
, assert that it's called w/ Release.description
, and assert that this value is the stub from that call?
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.
Done. :)
@di this should be ready to go now. |
Towards #3739
Original context: #3745