-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Move tests related to views files into views/tests. #2466
Conversation
@@ -332,17 +332,6 @@ def save_subs_to_store(self, subs, subs_id): | |||
del_cached_content(content_location) | |||
return content_location | |||
|
|||
def remove_subs_from_store(self, subs_id): |
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.
These methods are unused because the tests are calling a method (with the same name) in transcripts_utils. So it appears that the author just forgot to delete these methods when creating the utility method.
👍 ⭐ 💃 😃 👍 🎆 ✨ 👍 👍 👍 |
❤️ 😍 ❤️ |
This is waiting on #2356 to merge first. |
For any interested parties, I removed some unused imports introduced by @dmitchell in #2356. |
Move tests related to views files into views/tests.
* Add ORA2 video upload option openedx#2375 (openedx#2417) * Modified courseware page look and feel openedx#2377 (openedx#2409) * Modified about page openedx#2379 (openedx#2413) * Fix biz bugs. openedx#2404 (openedx#2406) * Fix display width of popup. (openedx#2384) (cherry picked from commit a43c935a575d15fcf629f0edeb81446c778cda95) * Validate duplicate url-code. * Fix bug, when course not found. * Fix order of course as CourseOverview. * Remove additional-info count from contract grid. openedx#2419 (openedx#2437) * Fix order global course. openedx#2420 (openedx#2421) * Add additional info register. openedx#2419 (openedx#2433) * fix survey csv character encode problem openedx#2380 (openedx#2434) * Fix bokchoy for LoginCodeEnabledBizSurveyTest. (openedx#2457) * Fix register students confirm message. (openedx#2461) * Add command to check playback_log. openedx#2438 (openedx#2445) * Fix courseware page lookandfeel (openedx#2446, openedx#2439, openedx#2452, openedx#2453) * Fix box-shadow of sequence-nav-button. openedx#2453 (openedx#2467) * Fix bugs. openedx#2462 openedx#2463 (openedx#2464) * Fix password message in register students page. * Fix glass pane of processing when register additional item. * Fix display width of popup. (openedx#2466) * Fix min-width of sequence-nav. openedx#2468 (openedx#2469) * Fix isRegistered javascript in about page openedx#2470 (openedx#2471)
@singingwolfboy Can you review this cleanup PR? I was adding a new test for a file in contentstore.views, and I was annoyed that the tests for those files live in contentstore.tests instead of contentstore.views.tests. So I decided to move the existing tests (at least the ones that obviously map to a file in contentstore.views).
I also did some pep8 cleanup.