JonahStanley
d2632227de
Fixed all but one test
2013-07-11 10:55:00 -04:00
JonahStanley
7b9a725201
Fixed comment relating to full course
2013-07-11 10:12:09 -04:00
JonahStanley
982777f547
All cms unit test no longer rely on the full course.
...
Factories were used when possible but tests depending on importing or things not manageable by factories used the toy course. New files were added to include the needed functionality. Most files are blank or have minimal xml needed to work
2013-07-11 10:09:05 -04:00
JonahStanley
55e6d1ad67
Asset tests do not rely on the full course
...
A blank asset file was also added to toy
2013-07-11 10:08:47 -04:00
JonahStanley
62f2764728
First half of refactorization.
...
This fixes the following tests(T stands for toy, F stands for factory made):
T import_textbook_as_content_element (needed to add a textbook to toy)
F static_tab_reordering
T import polls (needed to add a poll to toy)
T xlint_fails
F delete
T about_overrides (needed to add an about override to toy)
F remove_hide_progress_tab
2013-07-11 10:08:40 -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
Adam Palay
d056c8a8f2
replace test setting changes with test-specific mock.patch.dicts
2013-07-10 10:18:58 -04:00
David Baumgold
17bef565f1
Added another test
2013-07-09 19:16:44 -04:00
David Baumgold
437e658f98
pylint fixes
2013-07-09 19:16:44 -04:00
David Baumgold
ee61b15345
Added a few more tests, to increase diff coverage
2013-07-09 19:16:10 -04:00
David Baumgold
e1ed5c3d2d
docstrings
2013-07-09 19:16:10 -04:00
David Baumgold
0b8aec718f
Add another pdf textbook test
2013-07-09 19:16:10 -04:00
David Baumgold
bacb904ce3
Skip failing unit test
2013-07-09 19:16:10 -04:00
David Baumgold
ef81556cc5
Use JsonResponse when it makes sense
2013-07-09 19:16:08 -04:00
David Baumgold
090d0d4464
Fix up unit tests
2013-07-09 19:16:08 -04:00
David Baumgold
c750f08d21
Fix failing unit tests due to bad rebase
2013-07-09 19:16:06 -04:00
David Baumgold
4c304f1d18
Add unit test for failure case
2013-07-09 19:16:05 -04:00
David Baumgold
05cb13b171
Adding and fixing tests
2013-07-09 19:16:04 -04:00
chrisndodge
57d82dea10
Merge pull request #330 from edx/fix/cdodge/delete-course-delete-drafts
...
[STUD-380] Fix/cdodge/delete course delete drafts
2013-07-08 07:24:24 -07:00
Chris Dodge
656f2b15fd
remove redundent test until we get clarity as to if unit tests are actually using the codejail functionality or not
2013-07-03 13:46:32 -04:00
Chris Dodge
11ef3961bc
try to add some additional diff coverage which should get us to 100%
2013-07-03 13:46:31 -04:00
Chris Dodge
9a8c5857e6
change settings to add test course to sandbox whitelist to try to increase diff code coverage
2013-07-03 13:46:31 -04:00
Chris Dodge
0e0dfd22cf
add test for customresponse problem type
2013-07-03 13:46:31 -04:00
Chris Dodge
8d858ecb49
add a unit test to exercise the preview_component AJAX callback in the CMS
2013-07-03 13:46:31 -04:00
Chris Dodge
b18fb97eed
extend tests to assert that all draft content is cleaned up. Also add assertion that assets are deleted as well
2013-07-03 11:24:30 -04:00
Adam Palay
c692428fe5
fix pylint violations
2013-07-02 10:22:26 -04:00
Adam Palay
03aee3ed79
add tests
2013-07-01 18:21:47 -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
e487521289
Update for change in add_user_to_creator_group API.
2013-06-26 10:52:26 -04:00
cahrens
2c60a7dbc1
pep8 cleanup
2013-06-26 10:52:26 -04:00
cahrens
318372f2c0
Introduce course creator group.
2013-06-26 10:48:31 -04:00
JonahStanley
3f9a72e6ce
Consolidated imports
2013-06-21 16:32:13 -04:00
JonahStanley
5e6de488ab
Fixed pylint/pep8 violations
2013-06-21 16:28:32 -04:00
JonahStanley
58fe6d4e83
Cleaned up import and comment
2013-06-21 16:17:33 -04:00
JonahStanley
fa18b48f6e
Contentstore singleton is now cleared during teardown
2013-06-21 08:51:44 -04:00
JonahStanley
51f8c0cfeb
Added the beginnings of self cleanup
2013-06-21 08:51:44 -04:00
Jay Zoldak
f90ed69cd7
move override of MODULESTORE settings into ModuleStore test case class
2013-06-21 08:51:44 -04:00
JonahStanley
e4af7287b6
Initial testing for parallelization
2013-06-21 08:51:43 -04:00
Ned Batchelder
3eec09b87a
Merge pull request #216 from edx/ned/remove-unused-imports
...
Ned/remove unused imports
2013-06-20 14:15:31 -07: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
d601cee8e5
Merge branch 'master' into christina/course-settings-drupal
2013-06-20 11:00:12 -04:00
Ned Batchelder
645d847bb1
Remove unused imports from cms, as detected by pylint.
2013-06-19 16:56:34 -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
1ff022e181
Incidental pep8 changes
2013-06-18 17:25:06 -04:00
Don Mitchell
b151d6c155
Merge pull request #183 from edx/dhm/timeconv/bug0
...
Fix a few remaining tz naive dates
2013-06-18 09:09:24 -07:00
Chris Dodge
53f18f27b9
need to comment out another thumbnail check due to build test environment not having libjpeg installed
2013-06-17 15:59:14 -04:00