Don Mitchell
df7b917b40
Implement next generation modulestore
...
A new modulestore backed by mongo that changes the data format to
facilitate easy versioning, sharing content between courses, and fast
lookup of course structure and Scope.settings data.
Conflicts:
cms/djangoapps/contentstore/tests/test_contentstore.py
2013-07-19 13:10:14 -04:00
Adam Palay
d056c8a8f2
replace test setting changes with test-specific mock.patch.dicts
2013-07-10 10:18:58 -04:00
cahrens
2cceda948c
Disable test point when run under CMS.
...
The template exists when django admin is enabled, but the mappings in CMS' urls.py do not exist.
2013-07-08 13:12:44 -04:00
Adam Palay
03aee3ed79
add tests
2013-07-01 18:21:47 -04:00
Don Mitchell
ddfbe59814
Make DraftModuleStore mongo only
...
DraftModuleStore was originally designed as a mixin, but never used that
way, and with the upcoming changes to use the versioned module store,
never will be. This changes removes a circular dependency between
mongo.py and draft.py.
2013-07-01 12:33:08 -04:00
Don Mitchell
b42fe277d4
Add serial commas to modulestore definitions
2013-06-25 22:34:36 -04:00
JonahStanley
e4af7287b6
Initial testing for parallelization
2013-06-21 08:51:43 -04:00
Chris Dodge
70ee4b8060
add unit tests for asset delete/restore
2013-06-17 11:10:35 -04:00
Don Mitchell
168cb306d3
Move tz_aware into connection config rather than settings.
...
Make django use_tz
2013-06-10 17:16:35 -04:00
Don Mitchell
28f8910db4
Make pymongo tz_aware
2013-06-10 17:16:34 -04:00
cahrens
138ad3988f
Update test (and set PREVIEW_LMS_BASE to something different so we can actually test the method).
2013-05-23 17:06:02 -04:00
cahrens
a03a4fdd07
PREVIEW_LMS_BASE must now be set (default value does not work for both edge and edx). Make this work locally as well.
...
https://edx.lighthouseapp.com/projects/102637/tickets/331
2013-05-23 16:45:10 -04:00
Calen Pennington
241ef68f4f
Start linting envs files, add task to only pylint errors, and move pylintrc file to the correct location
2013-05-21 09:34:12 -04:00
Carlos Andrés Rocha
0042988ea7
Merge pull request #2063 from edx/feature/rocha/lets-use-celery
...
Add Celery configuration to LMS and CMS
2013-05-17 12:36:23 -07:00
Carlos Andrés Rocha
35bd38d677
Add status app with simple view to check celery workers
2013-05-17 11:33:14 -04:00
Carlos Andrés Rocha
c05efbc31e
Added base Celery settings
2013-05-17 11:33:14 -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
Will Daly
daef910494
Mae mongo DB and collection names consistent for all
...
acceptance tests.
2013-05-14 12:34:15 -04:00
Jay Zoldak
bdfe1cff39
Remove localization middleware from jasmine test execution
2013-05-01 11:34:28 -04:00
Calen Pennington
d4df9eebac
Merge pull request #1866 from MITx/feature/cale/enable-rednose
...
Enable test colors in nosetests
2013-04-17 10:15:25 -07:00
Calen Pennington
f252c62f31
Enable test colors in nosetests
...
Use setup.cfg to set up default settings when running nose tests. Enable
the rednose library to color test output.
2013-04-17 09:58:52 -04:00
Calen Pennington
bf6b886ccd
Fix pylint and pep8 errors
2013-04-16 11:45:21 -04:00
Calen Pennington
d7796f4d47
Put test database into test_root
2013-04-16 11:40:04 -04:00
Jay Zoldak
3ff63f78b0
Disable nps survey in test environment
2013-04-16 10:37:43 -04:00
Mark L. Chang
10377bc41c
added a dummy key for segment.io so it doesn't ever fail
2013-04-04 16:08:10 -04:00
Mark L. Chang
db1c0bf081
added dev key so tests run
2013-04-04 12:14:34 -04:00
Chris Dodge
197f52539f
add some unit tests
2013-03-28 11:37:53 -04:00
Chris Dodge
413aeed1b3
use django caching to hold computed metadata inheritence. Also invalidate the cache entries on writes (insert, updates)
2013-03-13 15:33:15 -04:00
Will Daly
2436d59e14
Merge branch 'master' into feature/deena/testing
...
Conflicts:
cms/djangoapps/contentstore/tests/factories.py
lms/djangoapps/courseware/tests/test_access.py
2013-03-04 16:30:41 -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
b329b0ea42
Remove toy dbs from CMS test settings.py file as they are not used.
2013-02-06 10:36:28 -05:00
Jay Zoldak
b63c3c5a67
Change modulestore name and subclass TestCase
2013-02-06 10:36:28 -05:00
Deena Wang
25aca5866d
Merge branch 'master' into feature/deena/testing
...
Conflicts:
lms/djangoapps/courseware/tests/test_access.py
2013-02-01 10:19:40 -05:00
Deena Wang
85c412fc2e
changed cms/env/tests, added test_views.py
2013-01-29 11:06:32 -05:00
Don Mitchell
53b73ca3da
Merge pull request #1208 from MITx/feature/cdodge/clone-course
...
fix up some thumbnail issues. Also we need to manage the user permission...
2012-12-27 09:26:51 -08:00
Chris Dodge
9dff39dd6d
start adding clone unit test
2012-12-27 11:25:04 -05:00
cahrens
91ce214964
Fix for Studio #96 .
2012-12-20 14:59:21 -05:00
Jay Zoldak
7efaa87c19
Add test for clone item. Also change password hashing for faster tests.
2012-11-09 10:54:50 -05:00
Jay Zoldak
14564b2310
Merge branch 'feature/cale/cms-master' into feature/jzoldak/cms-unit-testing
2012-11-09 08:58:48 -05:00
Jay Zoldak
2077f62dd5
Add test for index page, plus SOUTH migrations for faster test execution.
2012-11-08 14:16:51 -05:00
Calen Pennington
171e932266
Merge branch 'master' into feature/cale/cms-master
...
Conflicts:
rakefile
2012-11-08 12:28:40 -05:00
Ned Batchelder
90e3386751
WIP for quieter tests with coverage.
2012-11-08 11:19:33 -05:00
Ned Batchelder
7eb196df38
Run coverage directly instead of as a plugin. Also quiet the install and clean steps of tests.
2012-11-08 11:19:33 -05:00
Calen Pennington
05c02f0d5f
Fixing tests from changes around draft mode
2012-10-10 12:49:51 -04:00
Calen Pennington
3b36fbf914
Move mitxmako out of common lib, and pass template rendering function into MongoModuleStore
2012-08-16 12:49:42 -04:00
David Ormsbee
510435ada5
Sketchy adding of test dbs to the cms test.py config file -- these are required for the Student (shared django app) tests to run
2012-08-13 00:35:51 -04:00
Calen Pennington
29cf09763f
Fixing up cms tests to only use data in common/test/data
2012-07-25 10:09:25 -04:00
Calen Pennington
6bf0e093bc
Add tests for the edit page for the toy course, and make sure that exporting to github sets up the git repo properly
2012-07-24 15:05:07 -04:00
Victor Shnayder
339e9a68f4
Make end-to-end tests work again
...
* NOTE: successfully running the tests depends on an updated version of
django-pipeline, which fixes a unicode bug (efaba4ac63 )
Config changes:
* Use separate db for the cms
* Run collectstatic before running tests--needed to get everything in the right place for loading pages
* fix some paths related to this
* Turn off JS compressor for CMS
* add empty test_root/uploads dir
Code changes:
* Add cms tests to check that home page and signup pages load
* Add cms account creation test
* Make github sync tests clean out repo dirs before running.
2012-07-13 11:51:33 -04:00