summaryrefslogtreecommitdiff
path: root/testenv/Test-reserved-chars.py
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2016-04-08 16:31:08 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2016-04-11 15:35:05 +0200
commit926e42d4678689195a0bbed210c6d027db7cc390 (patch)
treedb55f567ed476b6c54bb1de059b6d5343197277f /testenv/Test-reserved-chars.py
parentd286d5408bb5ac91036c26b4ebf102926c8c928d (diff)
downloadwget-926e42d4678689195a0bbed210c6d027db7cc390.tar.gz
Use test file name for temp working directory name
* testenv/test/base_test.py (__init__): Use test file name for name, remove 'name' parameter * testenv/test/http_test.py (__init__): Remove 'name' parameter * testenv/*.py: Remove TEST_NAME Using a fixed string (TEST_NAME) to build the working directory for testing caused random failures (or successes) when tests share the same TEST_NAME value. Not easy to find without digging into the python test suite code. We now use the test file name, which is unique within the test environment.
Diffstat (limited to 'testenv/Test-reserved-chars.py')
-rw-r--r--[-rwxr-xr-x]testenv/Test-reserved-chars.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/testenv/Test-reserved-chars.py b/testenv/Test-reserved-chars.py
index e5d33d07..fb617f54 100755..100644
--- a/testenv/Test-reserved-chars.py
+++ b/testenv/Test-reserved-chars.py
@@ -11,7 +11,6 @@ This test ensures that Wget keeps reserved characters in URLs in non-UTF-8 chars
# so we need to set LC_ALL="C" in order to reproduce it.
environ["LC_ALL"] = "C"
-TEST_NAME = "URLs with reserved characters"
######### File Definitions #########
RequestList = [
[
@@ -50,7 +49,6 @@ post_test = {
}
err = HTTPTest (
- name=TEST_NAME,
pre_hook=pre_test,
test_params=test_options,
post_hook=post_test