From 76b2befb9ba83b45e3afeaf2e16b8f5e7ae47c29 Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Sat, 26 May 2018 15:30:04 -0700 Subject: [PATCH] test-bots: Remove unused function parameter. --- tools/test-bots | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/test-bots b/tools/test-bots index bcbd388..57ea0de 100755 --- a/tools/test-bots +++ b/tools/test-bots @@ -10,7 +10,7 @@ import glob import unittest from unittest import TestCase, TestSuite -def parse_args(available_bots): +def parse_args(): description = """ Script to run test_.py files in the zulip_bot/zulip_bots/bots/ directories. @@ -59,7 +59,8 @@ def main(): # get only the names of bots that have tests available_bots = map(lambda path: basename(dirname(path)), test_modules) - options = parse_args(available_bots) + + options = parse_args() if options.coverage: import coverage