test-bots: Remove unused function parameter.
This commit is contained in:
parent
1d60794f1c
commit
76b2befb9b
|
@ -10,7 +10,7 @@ import glob
|
||||||
import unittest
|
import unittest
|
||||||
from unittest import TestCase, TestSuite
|
from unittest import TestCase, TestSuite
|
||||||
|
|
||||||
def parse_args(available_bots):
|
def parse_args():
|
||||||
description = """
|
description = """
|
||||||
Script to run test_<bot_name>.py files in the
|
Script to run test_<bot_name>.py files in the
|
||||||
zulip_bot/zulip_bots/bots/<bot_name> directories.
|
zulip_bot/zulip_bots/bots/<bot_name> directories.
|
||||||
|
@ -59,7 +59,8 @@ def main():
|
||||||
|
|
||||||
# get only the names of bots that have tests
|
# get only the names of bots that have tests
|
||||||
available_bots = map(lambda path: basename(dirname(path)), test_modules)
|
available_bots = map(lambda path: basename(dirname(path)), test_modules)
|
||||||
options = parse_args(available_bots)
|
|
||||||
|
options = parse_args()
|
||||||
|
|
||||||
if options.coverage:
|
if options.coverage:
|
||||||
import coverage
|
import coverage
|
||||||
|
|
Loading…
Reference in a new issue