Fixed test_system looking like a test to nosetests, also fixed a class i... - #156
Conversation
…s in test_error_module.py that had one class inheriting from another
|
@lapentab The PR looks good. It looks like there are some conflicts with master that you will need to resolve before merging. To do this:
(full details here: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging) Also, when you assign someone to a PR, please mention them in the PR description using "@". That's the only way to guarantee they'll be notified. |
|
@lapentab thanks for taking on this thankless task! "system_test" doesn't seem like a great name for this function. "test_system" was a noun describing what it returned, but we know we don't want that name. "get_test_system" is more accurate, or "make_test_system". |
There was a problem hiding this comment.
Duplicating this setUp function is unfortunate. Can't we move this code somewhere we can share it?
There was a problem hiding this comment.
Two possibilities for this:
- Create a base class that both test cases inherit from
- Define an external helper function that both test cases call in their setUp() methods.
|
@lapentab The rename to |
Conflicts: AUTHORS common/lib/xmodule/xmodule/tests/test_annotatable_module.py common/lib/xmodule/xmodule/tests/test_capa_module.py common/lib/xmodule/xmodule/tests/test_combined_open_ended.py common/lib/xmodule/xmodule/tests/test_conditional.py common/lib/xmodule/xmodule/tests/test_html_module.py common/lib/xmodule/xmodule/tests/test_progress.py common/lib/xmodule/xmodule/tests/test_xml_module.py lms/djangoapps/courseware/tests/__init__.py
|
@wedaly Done, but it still says there are conflicts... |
There was a problem hiding this comment.
I think here you want self.get_test_system to be just self.test_system.
|
Just two more things:
|
|
@wedaly Done |
|
👍 |
|
(You can merge it when you're ready) |
Fix test_system looking like a test to nosetest. Fix class inheritance causing double counting of coverage.
…t-operations-groupslist-am implemented paging on groups list
Fix unit test. (ginkgo-rg)
…dx#164) identical to PR openedx#156 * Disable the autocomplete attribute on the password input element (cherry picked from commit a4ce11e1560a55e300ed0f0a639e6169f0452077) * Disable the autocomplete attribute on the password input element (cherry picked from commit 95c06305921e83c706a4131b688064634a76edf7) * Disable the autocomplete attribute on the password input element (cherry picked from commit dab23059d65c48188c0ad999a62a1cb587a249ad) * Disable the autocomplete attribute on the password input element (cherry picked from commit 417f55f792570ac874419f1b8af5ca8c2f3cda5b)
Fix openedx#4416 通过修改链接,直接无需购买课程,就可以是对课程进行学习
…y_from_github Removed google api key from github
Co-authored-by: Renovate Bot <bot@renovateapp.com>
...n test_error_module.py that had one class inheriting from another