Show More
@@ -176,7 +176,7 b' class JSController(TestController):' | |||
|
176 | 176 | def __init__(self, section): |
|
177 | 177 | """Create new test runner.""" |
|
178 | 178 | TestController.__init__(self) |
|
179 |
self.section = section |
|
|
179 | self.section = section | |
|
180 | 180 | |
|
181 | 181 | self.ipydir = TemporaryDirectory() |
|
182 | 182 | self.nbdir = TemporaryDirectory() |
@@ -191,7 +191,7 b' class JSController(TestController):' | |||
|
191 | 191 | self._init_server() |
|
192 | 192 | js_test_dir = get_js_test_dir() |
|
193 | 193 | includes = '--includes=' + os.path.join(js_test_dir,'util.js') |
|
194 | test_cases = os.path.join(js_test_dir, self.section) | |
|
194 | test_cases = os.path.join(js_test_dir, self.section[len(js_prefix):]) | |
|
195 | 195 | port = '--port=' + str(self.server_port) |
|
196 | 196 | self.cmd = ['casperjs', 'test', port, includes, test_cases] |
|
197 | 197 | super(JSController, self).launch() |
General Comments 0
You need to be logged in to leave comments.
Login now