Skip to content

Conversation

@cpennington
Copy link
Contributor

No description provided.

@cpennington
Copy link
Contributor Author

@nedbat @sarina: Review?

@sarina
Copy link
Contributor

sarina commented Nov 21, 2013

At a first pass, test coverage is fairly low: https://jenkins.testeng.edx.org/job/edx-platform-report/735/Diff_Coverage_Report/?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to point out in workbench/runtime.py this condition isn't checked for (if suffix='' there is still a /). I'm not clear on how important it is to have or remove this trailing slash.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XModules append to it, so I wanted to make sure it was a clean prefix (w/o the trailing slash). For pure xblocks, it doesn't matter as much.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, ty much

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make any guarantees about slashlessness about these URLs? Certainly if there's a query, you can't just append "/foo" to the URL. The caller would be in control of the query I guess....

@sarina
Copy link
Contributor

sarina commented Nov 21, 2013

The code is good but would like to see some test coverage.

@cpennington
Copy link
Contributor Author

@nedbat @sarina: Ping for re-review?

@sarina
Copy link
Contributor

sarina commented Dec 9, 2013

I don't have anything to add beyond my note in lms/lib/xblock/runtime.py

👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it customary in coffeescript to have no documentation or comments on functions? (This sounds sarcastic, but only half-so. Maybe there's something about coffeescript I don't understand.)

@nedbat
Copy link
Contributor

nedbat commented Dec 10, 2013

👍

@cpennington
Copy link
Contributor Author

Only test failure is known studio acceptance test flakiness. Merging.

cpennington added a commit that referenced this pull request Dec 10, 2013
Update handler_url support to match the latest in the xblock repo, for both js and python runtimes
@cpennington cpennington merged commit 80fd12b into openedx:master Dec 10, 2013
@cpennington cpennington deleted the pure-xblock-handler-urls branch December 10, 2013 18:54
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

Successfully merging this pull request may close these issues.

3 participants