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

Move tests related to views files into views/tests. #2466

Merged
merged 4 commits into from
Feb 10, 2014

Conversation

cahrens
Copy link

@cahrens cahrens commented Feb 4, 2014

@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.

@@ -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):
Copy link
Author

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.

@singingwolfboy
Copy link
Contributor

👍 ⭐ 💃 😃 👍 🎆 ✨ 👍 👍 👍

@jzoldak
Copy link
Contributor

jzoldak commented Feb 6, 2014

❤️ 😍 ❤️

@cahrens
Copy link
Author

cahrens commented Feb 6, 2014

This is waiting on #2356 to merge first.

@cahrens
Copy link
Author

cahrens commented Feb 10, 2014

For any interested parties, I removed some unused imports introduced by @dmitchell in #2356.

cahrens pushed a commit that referenced this pull request Feb 10, 2014
Move tests related to views files into views/tests.
@cahrens cahrens merged commit 4f69658 into master Feb 10, 2014
@cahrens cahrens deleted the christina/move-tests branch February 10, 2014 22:06
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Mar 23, 2018
* 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)
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