diff options
author | posativ <info@posativ.org> | 2012-04-23 12:53:47 +0200 |
---|---|---|
committer | posativ <info@posativ.org> | 2012-04-23 12:53:47 +0200 |
commit | 9d2d6c941ba1a0bc3dbeeb904cf8136d3dea6df0 (patch) | |
tree | 13f8b48720d37ff36a4c442d272042f112184049 /tools | |
parent | c1d9434b23338c77f6c9262c0595381c9b242bba (diff) |
remove BASE_URL usage from dumbtest.py
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dumbtest.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/dumbtest.py b/tools/dumbtest.py index e4971c1..969c28b 100644 --- a/tools/dumbtest.py +++ b/tools/dumbtest.py @@ -14,8 +14,6 @@ def view_from_url(url): AHREF_RE = re.compile('href="([\w/][^"]+)"') -BASE_URL = 'http://localhost:8080' - seen = set() errors = defaultdict(set) durations = defaultdict(list) @@ -37,7 +35,7 @@ def main(): if '-v' in sys.argv: print 'Requesting %r...' % url start = time.time() - http_conn.request('GET', BASE_URL + url) + http_conn.request('GET', url) response = http_conn.getresponse() durations[view_from_url(url)].append(time.time() - start) status = str(response.status) |