##// END OF EJS Templates
allow js tests to run with tornado 4 and phantomjs
Min RK -
Show More
@@ -309,10 +309,6 b' class JSController(TestController):'
309 @property
309 @property
310 def will_run(self):
310 def will_run(self):
311 should_run = all(have[a] for a in self.requirements + [self.engine])
311 should_run = all(have[a] for a in self.requirements + [self.engine])
312 tornado4 = test_for('tornado.version_info', (4,0,0), callback=None)
313 if should_run and self.engine == 'phantomjs' and tornado4:
314 print("phantomjs cannot connect websockets to tornado 4", file=sys.stderr)
315 return False
316 return should_run
312 return should_run
317
313
318 def _init_server(self):
314 def _init_server(self):
General Comments 0
You need to be logged in to leave comments. Login now