Commit Graph

1047 Commits

Author SHA1 Message Date
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
63ed16e118 add a 'can_execute_unsafe_code' callback method (ala LMS) to allow for whitelisting of courses with respect to codejailing 2013-07-03 13:46:31 -04:00
JonahStanley
221db93f01 Revert "Skipping the flakey tests for now"
This reverts commit d383a8add7.
2013-07-03 13:39:36 -04:00
JonahStanley
d383a8add7 Skipping the flakey tests for now 2013-07-03 13:28:33 -04:00
Jonah Stanley
852292ebf7 Merge pull request #324 from edx/jonahstanley/fix-component-test
Jonahstanley/fix component test
2013-07-02 11:55:46 -07:00
JonahStanley
47158d7079 Using the success condition
Got rid of announcement test

Removed assumption about uniqueness of css steps
2013-07-02 14:52:32 -04:00
Adam Palay
c692428fe5 fix pylint violations 2013-07-02 10:22:26 -04:00
JonahStanley
3e44f8a213 Component test now fails with useful information 2013-07-02 09:05:58 -04:00
Adam Palay
03aee3ed79 add tests 2013-07-01 18:21:47 -04:00
Jonah Stanley
6f8a31206a Merge pull request #280 from edx/jonahstanley/explicit-component-creation-tests
Explicitly test the creation and deletion of every component type
2013-07-01 13:48:15 -07:00
Calen Pennington
1a7b833146 Merge pull request #269 from edx/dhm/incidental-functionality-improvements
Incidental functionality improvements from Next Gen Modulestore work
2013-07-01 13:04:20 -07:00
David Baumgold
923bcc555c Make CMS errors JSON-able if requested via AJAX 2013-07-01 15:09:41 -04:00
Don Mitchell
ef9c299413 Work around XBlock limitations to force persistance of field mutation 2013-07-01 12:33:08 -04:00
Don Mitchell
2fc7d3308c Customtags can't be inserted by studio 2013-07-01 12:33:08 -04:00
Don Mitchell
a2524c517f Force locations to be Location objects earlier 2013-07-01 12:33:08 -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
Peter Fogg
1809fde60c Pylint cleanup. 2013-07-01 09:16:25 -04:00
Peter Fogg
b3cd6af9aa Change deleted Alert to a Notification, with a timeout. 2013-06-28 14:46:58 -04:00
Don Mitchell
2ef4d82959 Standardize on get_default_time_display 2013-06-28 14:19:10 -04:00
Don Mitchell
e9bd1c5602 Fix SessionKeyValueStore.has to use the correct indexing value when looking up data 2013-06-28 14:19:10 -04:00
Peter Fogg
1be2068bcf Show a confirmation on asset delete. Fixes STUD-375. 2013-06-28 12:28:49 -04:00
JonahStanley
1a5bda4d08 Broke up long line into smaller line 2013-06-27 16:35:01 -04:00
cahrens
32e6d4819f pep8/pylint cleanup. 2013-06-27 16:18:16 -04:00
cahrens
27e720cf3b Make it clear that this should only be run once. 2013-06-27 11:00:11 -04:00
JonahStanley
ea8e5f84ac Cleaned up code 2013-06-27 10:14:43 -04:00
cahrens
0e0f22999d Add doc strings. 2013-06-27 09:52:18 -04:00
cahrens
ce100bad88 Add doc strings. 2013-06-27 09:48:47 -04:00
cahrens
3babf53925 Handle the case of script being terminated before the user was deleted. 2013-06-27 09:44:09 -04:00
cahrens
42f71156de Script for making all instructors content creators. 2013-06-27 08:59:04 -04:00
Calen Pennington
6e357db24c Merge pull request #268 from edx/dhm/cosmetic-cleanup
Cosmetic Cleanups Incidental to Next Gen Modulestore Implementaton
2013-06-27 05:44:49 -07:00
JonahStanley
621777e6ae Explicitly test the creation and deletion of every component type
The testing of all settings/text editing have been done elsewhere and should be done when testing a new component
2013-06-26 16:01:31 -04:00
Don Mitchell
1344b1e521 Make SessionKeyValueStore variable names clearer 2013-06-26 14:19:33 -04:00
Don Mitchell
65b3bcdba6 Clean up variable naming 2013-06-26 14:19:33 -04:00
Don Mitchell
ff6ba014ce Remove noop if statement 2013-06-26 14:19:33 -04:00
cahrens
e487521289 Update for change in add_user_to_creator_group API. 2013-06-26 10:52:26 -04:00
cahrens
4a697a8da1 Verify that caller of add or remove from creator group is staff. 2013-06-26 10:52:26 -04:00
cahrens
190c07d954 Add smoke coverage for add and remove of course group permissions. 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
Don Mitchell
8b23eeca7e Minor pylint/whitespace changes 2013-06-25 22:34:29 -04:00
Jonah Stanley
b14553d867 Merge pull request #220 from edx/jonahstanley/make-units-parallel
Jonahstanley/make units parallel
2013-06-25 11:44:01 -07:00
Peter Fogg
d5d495c24d Fix acceptance tests expecting outdated CSS. 2013-06-24 16:57:14 -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
Jonah Stanley
26a05f2a45 Merge pull request #140 from edx/jonahstanley/add-courseteam-tests
Jonahstanley/add courseteam tests
2013-06-21 12:43:14 -07:00
David Baumgold
d632ffe9cd Make Course Team lettuce tests gender-neutral
Because it bothers me, although I don't expect anyone else to care.
2013-06-21 14:52:31 -04:00
JonahStanley
fa18b48f6e Contentstore singleton is now cleared during teardown 2013-06-21 08:51:44 -04:00