Misc cleanup
Project: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/commit/53973b32 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/tree/53973b32 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver-qa/diff/53973b32 Branch: refs/heads/master Commit: 53973b3227d8b878a4dab6c1881d0284440ce151 Parents: 25e5eee Author: Thomas Jackson <[email protected]> Authored: Mon Dec 22 17:24:59 2014 -0800 Committer: Thomas Jackson <[email protected]> Committed: Mon Dec 22 17:24:59 2014 -0800 ---------------------------------------------------------------------- tsqa/endpoint.py | 6 +++--- tsqa/environment.py | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/53973b32/tsqa/endpoint.py ---------------------------------------------------------------------- diff --git a/tsqa/endpoint.py b/tsqa/endpoint.py index 5d4a145..c0a1e31 100644 --- a/tsqa/endpoint.py +++ b/tsqa/endpoint.py @@ -1,12 +1,12 @@ # TODO: some request/response class to load the various libary's implementations and allow for comparison import os - import threading -from collections import defaultdict import requests - import flask + + +from collections import defaultdict from wsgiref.simple_server import make_server # dict of testid -> {client_request, client_response} http://git-wip-us.apache.org/repos/asf/trafficserver-qa/blob/53973b32/tsqa/environment.py ---------------------------------------------------------------------- diff --git a/tsqa/environment.py b/tsqa/environment.py index 0db3d1a..a5d11f5 100644 --- a/tsqa/environment.py +++ b/tsqa/environment.py @@ -151,11 +151,16 @@ class EnvironmentFactory(object): # TODO: make this more configurable?? class Layout: + """ + The Layout class is responsible for the set of installation paths within a + prefixed Traffic Server instance. + # For now, just use a static set of directories relative to TS_ROOT. I # don't think that this will actually work in the general case, since there # are still a few paths that are defined by the build that you just have to # know. Maybe we can deal with that by overriding config in the environment # when we execute tools. + """ suffixes = { 'bindir': 'bin', 'includedir': 'include', @@ -166,10 +171,6 @@ class Layout: 'sysconfdir': 'etc/trafficserver', } - """ - The Layout class is responsible for the set of installation paths within a - prefixed Traffic Server instance. - """ def __init__(self, prefix): self.prefix = prefix
