Brian Wilson
1984cfecc1
Add duration to task status. Add tests for reset-attempts.
2013-06-18 11:13:17 -04:00
Brian Wilson
297206f260
Add background task history to instructor dash (as table).
...
Add task-history-per-student button, and fix display of task messages.
2013-06-18 11:13:01 -04:00
Brian Wilson
8872fbccd2
Add factory for CourseTaskLog.
...
Add unit tests for regrading at courseware level (task and task_queue).
2013-06-18 11:09:32 -04:00
Brian Wilson
8660c9a7af
Check descriptor to identify problems that don't support regrading.
2013-06-18 11:09:32 -04:00
Brian Wilson
0d38789a1d
Add additional background tasks: reset attempts, delete state. Update
...
CourseTaskLog fully after task submission, so it works in Eager mode
(for testing).
2013-06-18 11:05:33 -04:00
Brian Wilson
95c1c4b8a8
Refactor tracking and xqueue initialization to no longer require a request. Get tracking logs to work. Add transaction annotations.
...
Make sure to read only once from result objects when getting result status,
so that values are consistent.
2013-06-18 11:04:05 -04:00
Brian Wilson
7711c00e2c
Pull task_queue.py methods out from tasks.py, to represent API calls
...
from client. Tasks.py remains the task implementations running on the
celery worker.
In particular, move status message generation out of task thread to client side.
2013-06-18 11:04:05 -04:00
Brian Wilson
d503e3313f
Add task progress table to instructor dash.
...
Add call to MakoMiddleware() to initialize templates in celery worker server.
Pass task_ids by POST properties (as a list) to collect task progress status.
2013-06-18 11:04:05 -04:00
Brian Wilson
91ac6e68e8
Define initial celery task on instructor dash.
...
Add CourseTaskLog, and make calls to regrading.
Add regrading implementation, and hack the marshalling of request.
2013-06-18 11:04:05 -04:00
Jonah Stanley
94238238e7
Merge pull request #58 from edx/jonahstanley/add-navigation-tests
...
Jonahstanley/add navigation tests
2013-06-18 07:29:17 -07:00
Vasyl Nakvasiuk
80f38b8f3c
python tests for videoalpha
2013-06-18 16:30:14 +03:00
Calen Pennington
82606a062c
Make XModuleDescriptor use __init__ from XBlock
...
Fixes JIRA LMS-203
2013-06-17 13:38:57 -04:00
Calen Pennington
438ac3b1a4
Move video xmodule tests to xmodule directory
2013-06-17 13:38:29 -04:00
Jean Manuel Nater
07486a4dbc
Refactoring the code in tests.py to remove unnecessary dependencies on the XML Modulestore.
2013-06-17 11:54:16 -04:00
Alexander Kryklia
9f4dcbcd1b
disables pylint warning for lettuce tests syntax
2013-06-14 11:12:32 +03:00
Valera Rozuvan
4c544d6f49
Added lettuce tests for autoplay in videoalpha.
2013-06-14 11:12:32 +03:00
JonahStanley
daf5ef146e
Fixed weird issue of needed to sometimes first find then click instead of css_click
2013-06-13 16:33:39 -04:00
Calen Pennington
e791e84ea7
Remove the stores_state field from XModule
...
stores_state is now only used in a single test, in conjunction with
has_score. In practice, it's never the case that stores_state is false
when has_score is true, so we can delete stores_state entirely, and just
use has_score for the grading test.
2013-06-13 14:38:59 -04:00
Bethany LaPenta
85f1386918
Fixed test_system looking like a test to nosetests, also fixed a class in test_error_module.py that had one class inheriting from another
2013-06-13 14:30:07 -04:00
Don Mitchell
6af4402abd
Squash 3 more naive datetime warnings. I think the only ones left are in
...
migrations.
2013-06-13 10:56:48 -04:00
Jean Manuel Nater
a25a0d71ac
refactored tests in courseware to draw course info from mongo instead of xmlmodulestore
2013-06-12 10:42:52 -04:00
JonahStanley
e843f80e1f
Fixed naming issue and hopefully clicking issue
2013-06-11 17:09:39 -04:00
Jay Zoldak
32562b7055
Fix broken lettuce tests
2013-06-11 15:16:12 -04:00
Don Mitchell
64b909c5f0
Merge pull request #12 from edx/feature/dhm/timeconv
...
Feature/dhm/timeconv
2013-06-11 11:11:05 -07:00
Jay Zoldak
37d7bc2365
Update lettuce test for problems with new css for show and hide answers.
2013-06-11 13:52:35 -04:00
Brian Talbot
d74f952b37
updates masquerade unit test to account for new show answer button with problems
2013-06-10 16:22:20 -07: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
Don Mitchell
d7194e6bec
struct_time to datetime conversion.
2013-06-10 17:16:34 -04:00
JonahStanley
1fefec2176
Fixed the need of a global variable
2013-06-06 15:28:45 -04:00
JonahStanley
8d15b74a97
Fixed errors in spacing and refactoring out of scenario
2013-06-06 14:38:59 -04:00
Vasyl Nakvasiuk
d0e3f99e77
BaseTestXmodule: create module on the fly
2013-06-06 16:46:47 +03:00
Vasyl Nakvasiuk
45e32107e7
video module: remove old methods
2013-06-06 16:46:47 +03:00
Vasyl Nakvasiuk
68716f99cc
video module: _get_timeframe -> get_timeframe
2013-06-06 16:46:47 +03:00
Vasyl Nakvasiuk
b25710346f
add python video tests
2013-06-06 16:46:28 +03:00
JonahStanley
c62cc23bc2
Refactored Navigation Methods
2013-06-04 13:06:18 -04:00
JonahStanley
862bb3f8bc
Added the beginnings of the navigation tests
...
I still need to refactor the methods but at this point, all tests work
2013-06-04 11:34:52 -04:00
Diana Huang
f3b36b8bc9
Use from_descriptor instead of from_xml to make ErrorDescriptor
2013-06-03 17:21:41 -04:00
JonahStanley
6af54ead39
Fixed scenario wording
2013-06-03 12:43:54 -04:00
JonahStanley
0d11eb16ba
Fixed typo
...
I accidently had show_answer instead of showanswer. This error was hidden by a previous default of showanswer=always.
2013-06-03 11:52:40 -04:00
JonahStanley
a17c487f16
Merged from Master
2013-06-03 09:46:19 -04:00
Peter Fogg
5434f2750e
Cleaning up code to fix pylint/pep8 errors.
2013-05-31 15:58:12 -04:00
JonahStanley
cb9da2cd03
Potentially fixed all flakey tests
...
New function was added: is_css_not_present
This function works like is_css_present in that it will wait and can take in an optional argument to wait longer. This should be used everywhere INSTEAD of not is_css_present as in the latter case, you are telling selenium to wait for the thing you don't want to be there to either be there or time out.
2013-05-31 15:16:45 -04:00
JonahStanley
3308bb4be7
Fixed pull request comments and refactored the duplicate code
2013-05-31 14:53:29 -04:00
Peter Fogg
2277c82efd
Fix pep8 whitespace violation.
2013-05-31 12:54:09 -04:00
Peter Fogg
a503a753cd
Remove unnecessary pylint warning disable.
2013-05-31 12:16:25 -04:00
Peter Fogg
782cb05410
Add passing Lettuce testing for video autoplay in LMS.
2013-05-31 11:22:45 -04:00
JonahStanley
a49acc73ee
Removed the save_html line
2013-05-31 09:16:14 -04:00
Peter Fogg
1ead857792
Working on Lettuce tests for video in LMS.
...
In progress, committing for the great git history rewrite.
2013-05-30 15:01:23 -04:00
JonahStanley
c27391ce8f
Accidently left in a set_trace and forgot to include files
2013-05-30 15:00:01 -04:00