[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Remove remnants of `bridgedb test` options handling.
commit d90e75f7b55ecead452255db1074f8fe7b39d04a
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Mon May 11 00:10:30 2015 +0000
Remove remnants of `bridgedb test` options handling.
---
lib/bridgedb/Main.py | 6 ------
lib/bridgedb/parse/options.py | 1 -
2 files changed, 7 deletions(-)
diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index 4a00799..d6b31a9 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -524,12 +524,6 @@ def runSubcommand(options, config):
statuscode = runner.generateDescriptors(
options.subOptions['descriptors'], config.RUN_IN_DIR)
- if options.subCommand == 'test':
- if options.subOptions['trial']:
- runner.runTrial(options.subOptions)
- if options.subOptions['unittests']:
- runner.runTests(options.subOptions)
-
logging.info("Subcommand '%s' finished with status %s."
% (options.subCommand, statuscode))
sys.exit(statuscode)
diff --git a/lib/bridgedb/parse/options.py b/lib/bridgedb/parse/options.py
index 3979615..6f3bfc1 100644
--- a/lib/bridgedb/parse/options.py
+++ b/lib/bridgedb/parse/options.py
@@ -36,7 +36,6 @@ bridgedb.parse.options
|
|__ MockOptions - Suboptions for creating fake bridge descriptors for
| testing purposes.
- |__ TestOptions - Suboptions for running twisted.trial based unittests.
\__ MainOptions - Main commandline options parser for BridgeDB.
..
"""
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits