##// END OF EJS Templates
Last review comments?
Jonathan Frederic -
Show More
@@ -253,7 +253,7 b' class JSController(TestController):'
253 # If a url was specified, use that for the testing.
253 # If a url was specified, use that for the testing.
254 if self.url:
254 if self.url:
255 try:
255 try:
256 alive = requests.request('GET', self.url).status_code == 200
256 alive = requests.get(self.url).status_code == 200
257 except:
257 except:
258 alive = False
258 alive = False
259
259
@@ -655,8 +655,7 b" argparser.add_argument('--all', action='store_true',"
655 help='Include slow tests not run by default.')
655 help='Include slow tests not run by default.')
656 argparser.add_argument('--slimerjs', action='store_true',
656 argparser.add_argument('--slimerjs', action='store_true',
657 help="Use slimerjs if it's installed instead of phantomjs for casperjs tests.")
657 help="Use slimerjs if it's installed instead of phantomjs for casperjs tests.")
658 argparser.add_argument('--url', const=None, default='', type=str,
658 argparser.add_argument('--url', help="URL to use for the JS tests.")
659 help="URL to use for the JS tests.")
660 argparser.add_argument('-j', '--fast', nargs='?', const=None, default=1, type=int,
659 argparser.add_argument('-j', '--fast', nargs='?', const=None, default=1, type=int,
661 help='Run test sections in parallel. This starts as many '
660 help='Run test sections in parallel. This starts as many '
662 'processes as you have cores, or you can specify a number.')
661 'processes as you have cores, or you can specify a number.')
General Comments 0
You need to be logged in to leave comments. Login now