Commit b4e400ba by Victor Shnayder Committed by Calen Pennington

Make tests pass again again

* Move lazyproperty decorator into xmodule so it's accessible during tests
* add default xqueue to test system
parent 932a9be7
......@@ -3,7 +3,7 @@ import time
import dateutil.parser
import logging
from util.decorators import lazyproperty
from xmodule.util.decorators import lazyproperty
from xmodule.graders import load_grading_policy
from xmodule.modulestore import Location
from xmodule.seq_module import SequenceDescriptor, SequenceModule
......
......@@ -32,7 +32,7 @@ i4xs = ModuleSystem(
user=Mock(),
filestore=fs.osfs.OSFS(os.path.dirname(os.path.realpath(__file__))),
debug=True,
xqueue=None,
xqueue={'default_queuename': 'testqueue'},
is_staff=False
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment