JonahStanley
d2632227de
Fixed all but one test
2013-07-11 10:55:00 -04:00
JonahStanley
bbf2398bac
Fixed test_course_settings to not rely on full course
2013-07-11 10:07:57 -04:00
JonahStanley
456daa9ce5
Deleted Files and annotated tests
2013-07-11 10:07:02 -04:00
David Baumgold
ee61b15345
Added a few more tests, to increase diff coverage
2013-07-09 19:16:10 -04:00
David Baumgold
c750f08d21
Fix failing unit tests due to bad rebase
2013-07-09 19:16:06 -04:00
David Baumgold
05cb13b171
Adding and fixing tests
2013-07-09 19:16:04 -04:00
Don Mitchell
db59acaa60
Assert date equality directly, rather than by using a delta of 0
2013-07-01 12:31:36 -04:00
Don Mitchell
274f1d17f3
Test start_date in course settings
2013-07-01 12:31:36 -04:00
cahrens
34f8c044b8
Pep8 cleaning.
2013-06-20 16:06:00 -04:00
cahrens
a498fa52ba
Modify after UX text changes.
2013-06-20 11:29:31 -04:00
cahrens
29d93aff89
pep8 fixes.
2013-06-19 16:34:23 -04:00
cahrens
6e96b88518
On marketing site, disable course settings options that do not work.
...
When on the marketing site (edx.org) disable portions of the course settings page in Studio that do not actually work in that environment.
2013-06-19 11:28:16 -04:00
Don Mitchell
e4757452f0
Partial implementation of means to get xmodule from descriptor and
...
attempt to test xmodule_modified (see fixme)
Removed obsolete else clause from before conversion
Ensure factories use datetime not struct_time for start date
Added more unit tests for settings encoder
2013-06-10 17:16:35 -04:00
Don Mitchell
28f8910db4
Make pymongo tz_aware
2013-06-10 17:16:34 -04:00
Don Mitchell
d7194e6bec
struct_time to datetime conversion.
2013-06-10 17:16:34 -04:00
cahrens
944d2d61f1
Make sure to get the correct modulestore on delete (static tabs do not exist in draft modulestore).
...
#324
2013-05-16 17:15:53 -04:00
Calen Pennington
bf6b886ccd
Fix pylint and pep8 errors
2013-04-16 11:45:21 -04:00
Calen Pennington
6644b78819
Fix gradebook when using grade cutoffs other than A/B/C
2013-04-16 11:38:58 -04:00
Chris Dodge
b4fe23f3a2
more cleanups in CMS project
2013-04-13 21:13:34 -04:00
cahrens
227a5e8266
Delete converters, move unit tests to test_fields, add new additional test cases.
2013-03-27 12:56:06 -04:00
Don Mitchell
056b7d3427
More unit tests which found another timezone assumption :-)
2013-03-22 16:45:21 -04:00
Don Mitchell
8370124e2b
Make to and from json for dates use iso format esp for timezone.
2013-03-22 16:16:32 -04:00
Calen Pennington
6b64b4214f
Make relative imports explicitly relative
2013-03-15 11:23:22 -04:00
Calen Pennington
fd3ba7db2a
Don't make cms.djangoapps a python module
2013-03-15 10:50:46 -04:00
Calen Pennington
b7680f3157
Fix tests except for conditional module and open ended grading
2013-03-05 15:04:59 -05:00
Calen Pennington
1bfb933518
Merge remote-tracking branch 'origin/master' into feature/alex/poll-merged
...
Conflicts:
cms/djangoapps/contentstore/tests/test_contentstore.py
cms/djangoapps/contentstore/views.py
cms/templates/edit_subsection.html
cms/templates/overview.html
cms/templates/unit.html
cms/templates/widgets/header.html
common/djangoapps/course_groups/tests/tests.py
common/lib/xmodule/setup.py
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/combined_open_ended_module.py
common/lib/xmodule/xmodule/course_module.py
common/lib/xmodule/xmodule/js/src/.gitignore
common/lib/xmodule/xmodule/mako_module.py
common/lib/xmodule/xmodule/modulestore/mongo.py
common/lib/xmodule/xmodule/modulestore/store_utilities.py
common/lib/xmodule/xmodule/modulestore/xml_exporter.py
common/lib/xmodule/xmodule/open_ended_grading_classes/combined_open_ended_modulev1.py
common/lib/xmodule/xmodule/open_ended_grading_classes/controller_query_service.py
common/lib/xmodule/xmodule/open_ended_grading_classes/open_ended_module.py
common/lib/xmodule/xmodule/open_ended_grading_classes/openendedchild.py
common/lib/xmodule/xmodule/open_ended_grading_classes/self_assessment_module.py
common/lib/xmodule/xmodule/peer_grading_module.py
common/lib/xmodule/xmodule/tests/__init__.py
common/lib/xmodule/xmodule/tests/test_capa_module.py
common/lib/xmodule/xmodule/tests/test_self_assessment.py
common/lib/xmodule/xmodule/x_module.py
lms/djangoapps/courseware/grades.py
lms/djangoapps/courseware/models.py
lms/djangoapps/courseware/views.py
lms/djangoapps/open_ended_grading/tests.py
2013-03-04 16:33:40 -05:00
cahrens
f91060d197
Merge branch 'master' into feature/cas/manual-policy
...
Conflicts:
cms/djangoapps/contentstore/features/common.py
cms/djangoapps/contentstore/features/section.py
cms/djangoapps/contentstore/tests/test_course_settings.py
cms/djangoapps/contentstore/views.py
cms/static/js/models/settings/course_grading_policy.js
cms/static/js/views/settings/main_settings_view.js
cms/static/sass/_settings.scss
cms/templates/settings.html
cms/urls.py
2013-02-19 13:27:35 -05:00
Calen Pennington
2bc3000156
Fix tests
2013-02-15 15:44:11 -05:00
Brian Talbot
6c95460761
studio - resolving merge from master
2013-02-15 09:15:06 -05:00
Calen Pennington
793bbfd351
Set up dev environment for testing xml vs mongo vs split_mongo modulestores
2013-02-13 14:04:21 -05:00
Don Mitchell
6e5968e2cd
html changed; so, removed mostly meaningless comparison and fixed one.
2013-02-13 11:53:26 -05:00
Don Mitchell
c904174bb7
Fix broken test and don't pass time units as strings but as ints.
2013-02-12 17:30:57 -05:00
Calen Pennington
4f555f6480
Merge remote-tracking branch 'origin/master' into feature/cale/xmodule-storage-model
...
Conflicts:
cms/djangoapps/contentstore/course_info_model.py
cms/djangoapps/contentstore/module_info_model.py
cms/djangoapps/contentstore/tests/factories.py
cms/djangoapps/contentstore/tests/test_course_settings.py
cms/djangoapps/contentstore/views.py
cms/djangoapps/models/settings/course_details.py
cms/djangoapps/models/settings/course_grading.py
cms/templates/edit_subsection.html
common/djangoapps/mitxmako/shortcuts.py
common/djangoapps/static_replace.py
common/djangoapps/util/converters.py
common/djangoapps/xmodule_modifiers.py
common/lib/xmodule/setup.py
common/lib/xmodule/xmodule/abtest_module.py
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/course_module.py
common/lib/xmodule/xmodule/discussion_module.py
common/lib/xmodule/xmodule/error_module.py
common/lib/xmodule/xmodule/html_module.py
common/lib/xmodule/xmodule/js/src/video/display.coffee
common/lib/xmodule/xmodule/mako_module.py
common/lib/xmodule/xmodule/modulestore/mongo.py
common/lib/xmodule/xmodule/modulestore/store_utilities.py
common/lib/xmodule/xmodule/modulestore/xml.py
common/lib/xmodule/xmodule/modulestore/xml_importer.py
common/lib/xmodule/xmodule/raw_module.py
common/lib/xmodule/xmodule/self_assessment_module.py
common/lib/xmodule/xmodule/seq_module.py
common/lib/xmodule/xmodule/template_module.py
common/lib/xmodule/xmodule/tests/__init__.py
common/lib/xmodule/xmodule/tests/test_export.py
common/lib/xmodule/xmodule/tests/test_import.py
common/lib/xmodule/xmodule/video_module.py
common/lib/xmodule/xmodule/x_module.py
common/lib/xmodule/xmodule/xml_module.py
lms/djangoapps/courseware/access.py
lms/djangoapps/courseware/courses.py
lms/djangoapps/courseware/grades.py
lms/djangoapps/courseware/models.py
lms/djangoapps/courseware/module_render.py
lms/djangoapps/courseware/tests/tests.py
lms/djangoapps/courseware/views.py
lms/djangoapps/django_comment_client/utils.py
lms/templates/staff_problem_info.html
lms/templates/video.html
rakefile
2013-02-07 15:12:30 -05:00
Don Mitchell
253bc10d9f
did other test cleanups which Christina mentioned (should have read the
...
note first)
2013-02-06 17:31:17 -05:00
Don Mitchell
7668c70f62
Update test now updates existing attrs
2013-02-06 17:01:00 -05:00
Don Mitchell
8f18522d58
Unit tests for edit metadata
2013-02-06 12:01:22 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Jay Zoldak
abf4ad36f4
Move modulestore unique naming in tests from the settings.py file into the ModuleStoreTestCase class.
2013-02-06 10:42:21 -05:00
Jay Zoldak
fde6d1ba1c
Refactor tests for cms contentstore.
2013-02-06 10:42:21 -05:00
Calen Pennington
60fa8619cb
Fixing tests
2013-01-02 10:37:49 -05:00
Don Mitchell
da343fd1d7
Finally! Details unit tests work and pass. Grading ones are fairly far
...
along.
2012-12-27 11:22:15 -05:00
Don Mitchell
83bc9d7bf8
Grader unit tests (partial)
2012-12-26 15:48:37 -05:00
Don Mitchell
a35c1386f2
Bug 99: don't show date as 'Unset' but leave out altogether if not set
...
plus commented out failing unit tests until I can get someone to help
debug them.
2012-12-26 11:30:31 -05:00
Don Mitchell
ff490599fa
Debugging unit tests
2012-12-26 10:29:35 -05:00
Don Mitchell
17a1e281b1
Unit tests now work!!!
2012-12-20 13:42:57 -05:00
Chris Dodge
4ebc9a589d
fix up some test failures
2012-12-13 11:29:00 -05:00
Don Mitchell
c4f4da5e46
Giving up for now on unit tests which mock http posts
2012-12-11 17:10:04 -05:00
Don Mitchell
39024a7fee
Grading mostly working
2012-12-10 16:32:33 -05:00
Don Mitchell
50d7e6160e
Move models from common to cms.
...
Add unit tests.
2012-12-03 12:20:15 -05:00