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