Calen Pennington
f2309b3112
Remove references to djangosettings from responsetypes.py
2012-06-07 16:41:01 -04:00
Calen Pennington
f2423ca15e
Add a local system with a mako render function for testing problems
2012-06-07 16:39:56 -04:00
Calen Pennington
684be8d257
Move capa templates into the capa library
2012-06-07 16:39:56 -04:00
David Ormsbee
8643b72550
Change inaccurate comment.
2012-06-07 16:39:56 -04:00
David Ormsbee
46e108e15b
remove assumption that LoncapaProblem.fileobject is actually a file on the filesystem
2012-06-07 16:39:55 -04:00
David Ormsbee
b096981482
add a 'show' command to our little problem utility
2012-06-07 16:39:55 -04:00
David Ormsbee
9f2bce0001
Catch common case where problem answers are specified with units but don't expect them in the input
2012-06-07 16:39:55 -04:00
David Ormsbee
3cbb74aee7
fix breakage in problem checker caused by LoncapaProblem taking a file object in its constructor instead of a filename
2012-06-07 16:39:55 -04:00
David Ormsbee
accdbdd660
Check that blank answers are never marked correct (because of NaN issues)
2012-06-07 16:39:55 -04:00
David Ormsbee
0a5e6ce681
A little refactoring to make clearer what running test on problem means
2012-06-07 16:39:55 -04:00
David Ormsbee
d9e72b91ba
add commandline flag for logging level
2012-06-07 16:39:55 -04:00
David Ormsbee
8131cb3334
Allow problem tests to run even if problems can't give us answers to check.
...
customresponses can't tell us what their answer is (there can be a
wide range of answers -- it's verified by a small program). So here
we simply ignore those fields we can't generate answers for when
doing tests against problems.
2012-06-07 16:39:55 -04:00
David Ormsbee
2c6efbfd5d
only run problem testing when test command is entered in CLI
2012-06-07 16:39:55 -04:00
David Ormsbee
a2c4948cc5
initial commit for checker script that validates problem files
2012-06-07 16:39:55 -04:00
Calen Pennington
4a0969df9d
Move tests for xmodules into the xmodule library, and make them run without django
2012-06-07 10:46:10 -04:00
Calen Pennington
91b306b35a
Moving capa and xmodule out of djangoapps/courseware, and removing django references from them
2012-06-06 14:15:32 -04:00