Commit 2adfb9bb 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 3b35cf15
...@@ -3,7 +3,7 @@ import time ...@@ -3,7 +3,7 @@ import time
import dateutil.parser import dateutil.parser
import logging import logging
from util.decorators import lazyproperty from xmodule.util.decorators import lazyproperty
from xmodule.graders import load_grading_policy from xmodule.graders import load_grading_policy
from xmodule.modulestore import Location from xmodule.modulestore import Location
from xmodule.seq_module import SequenceDescriptor, SequenceModule from xmodule.seq_module import SequenceDescriptor, SequenceModule
......
...@@ -32,7 +32,7 @@ i4xs = ModuleSystem( ...@@ -32,7 +32,7 @@ i4xs = ModuleSystem(
user=Mock(), user=Mock(),
filestore=fs.osfs.OSFS(os.path.dirname(os.path.realpath(__file__))), filestore=fs.osfs.OSFS(os.path.dirname(os.path.realpath(__file__))),
debug=True, debug=True,
xqueue=None, xqueue={'default_queuename': 'testqueue'},
is_staff=False 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