##// END OF EJS Templates
don't create js test directories unless they are being used...
MinRK -
Show More
@@ -178,15 +178,16 b' class JSController(TestController):'
178 TestController.__init__(self)
178 TestController.__init__(self)
179 self.section = section
179 self.section = section
180
180
181
182 def launch(self):
181 self.ipydir = TemporaryDirectory()
183 self.ipydir = TemporaryDirectory()
182 self.nbdir = TemporaryDirectory()
184 self.nbdir = TemporaryDirectory()
183 print("Running notebook tests in directory: %r" % self.nbdir.name)
185 print("Running %s tests in directory: %r" % (self.section, self.nbdir.name))
184 os.makedirs(os.path.join(self.nbdir.name, os.path.join(u'sub ∂ir1', u'sub ∂ir 1a')))
186 os.makedirs(os.path.join(self.nbdir.name, os.path.join(u'sub ∂ir1', u'sub ∂ir 1a')))
185 os.makedirs(os.path.join(self.nbdir.name, os.path.join(u'sub ∂ir2', u'sub ∂ir 1b')))
187 os.makedirs(os.path.join(self.nbdir.name, os.path.join(u'sub ∂ir2', u'sub ∂ir 1b')))
186 self.dirs.append(self.ipydir)
188 self.dirs.append(self.ipydir)
187 self.dirs.append(self.nbdir)
189 self.dirs.append(self.nbdir)
188
190
189 def launch(self):
190 # start the ipython notebook, so we get the port number
191 # start the ipython notebook, so we get the port number
191 self._init_server()
192 self._init_server()
192 js_test_dir = get_js_test_dir()
193 js_test_dir = get_js_test_dir()
General Comments 0
You need to be logged in to leave comments. Login now