Skip to content
Snippets Groups Projects
Commit 11eaab27 authored by Arjun Singh's avatar Arjun Singh Committed by Calen Pennington
Browse files

Added a filestore pointing at the directory of the file being run for xmodule tests

parent 652aa520
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
import unittest
import os
import fs
import numpy
......@@ -27,7 +28,7 @@ class I4xSystem(object):
def __init__(self):
self.ajax_url = '/'
self.track_function = lambda x: None
self.filestore = None
self.filestore = fs.osfs.OSFS(os.path.dirname(os.path.realpath(__file__)))
self.render_function = lambda x: {} # Probably incorrect
self.module_from_xml = lambda x: None # May need a real impl...
self.exception404 = Exception
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment