commit a59c001ed6e010895a6bf548f9fb6e73024d7071 Merge: 6680c55 0ee3864 Author: Damian Johnson atagar@torproject.org Date: Thu Apr 6 11:37:02 2017 -0700
Use decorators for common test requirements
Handful of minor testing changes, most notably replacing skip() calls for common requirements with decorators.
stem/util/test_tools.py | 8 + test/integ/connection/authentication.py | 7 +- test/integ/connection/connect.py | 2 +- test/integ/control/base_controller.py | 6 +- test/integ/control/controller.py | 25 +-- test/integ/descriptor/extrainfo_descriptor.py | 8 +- test/integ/descriptor/microdescriptor.py | 8 +- test/integ/descriptor/networkstatus.py | 14 +- test/integ/descriptor/remote.py | 8 +- test/integ/descriptor/server_descriptor.py | 8 +- test/integ/installation.py | 9 +- test/integ/manual.py | 2 +- test/integ/process.py | 14 +- test/integ/response/protocolinfo.py | 5 +- test/integ/socket/control_message.py | 2 +- test/integ/socket/control_socket.py | 5 +- test/integ/util/connection.py | 6 +- test/integ/util/proc.py | 43 ++-- test/integ/util/system.py | 259 +++++++--------------- test/integ/version.py | 21 +- test/runner.py | 138 +----------- test/unit/descriptor/certificate.py | 17 +- test/unit/descriptor/export.py | 5 +- test/unit/descriptor/hidden_service_descriptor.py | 11 +- test/unit/descriptor/reader.py | 11 +- test/unit/installation.py | 5 +- test/unit/manual.py | 23 +- test/unit/tutorial_examples.py | 5 +- test/util.py | 134 ++++++++++- 29 files changed, 347 insertions(+), 462 deletions(-)