summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2013-02-01 00:10:53 +0100
committerholger krekel <holger@merlinux.eu>2013-02-01 00:10:53 +0100
commite8d8ae5c9f01992517e339f184f04373abac9fbc (patch)
tree0d94700cfe34bc13640904f19dc1ea6f4cb29d1c
parentbf350ab5a804e486023b7047e7dc940e739289b4 (diff)
downloadtox-e8d8ae5c9f01992517e339f184f04373abac9fbc.tar.gz
remove some lingering "post" code
-rw-r--r--tests/test_config.py6
-rw-r--r--tox/_cmdline.py2
-rw-r--r--tox/_config.py3
3 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 2ab65a7..9afa45b 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -714,12 +714,6 @@ class TestGlobalOptions:
assert env.basepython == "python2.4"
assert env.commands == [['xyz']]
- def test_reportserver(self, tmpdir, newconfig):
- assert not newconfig([], "").option.post
- config = newconfig(["--post=http://xyz.net/"], "")
- assert config.option.post == "http://xyz.net/"
-
-
class TestIndexServer:
def test_indexserver(self, tmpdir, newconfig):
config = newconfig("""
diff --git a/tox/_cmdline.py b/tox/_cmdline.py
index 52ff1b6..a82aad8 100644
--- a/tox/_cmdline.py
+++ b/tox/_cmdline.py
@@ -368,8 +368,6 @@ class Session:
if not self.config.option.notest:
if venv.status:
return
- if not redirect and self.config.option.post:
- redirect = True
venv.test(redirect=redirect)
else:
venv.status = "skipped tests"
diff --git a/tox/_config.py b/tox/_config.py
index 8b53a1f..171e20b 100644
--- a/tox/_config.py
+++ b/tox/_config.py
@@ -96,9 +96,6 @@ def prepare_parse(pkgname):
parser.add_argument("-r", "--recreate", action="store_true",
dest="recreate",
help="force recreation of virtual environments")
- parser.add_argument("--post", metavar="URL", action="store",
- default = "",
- help="post each environment test run to specified post URL"),
parser.add_argument("args", nargs="*",
help="additional arguments available to command positional substition")
return parser