1. holger krekel
  2. tox

Commits

holger krekel  committed 7525e60

remove some lingering "post" code

  • Participants
  • Parent commits 18928d8
  • Branches default

Comments (0)

Files changed (3)

File tests/test_config.py

View file
  • Ignore whitespace
         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("""

File tox/_cmdline.py

View file
  • Ignore whitespace
         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"

File tox/_config.py

View file
  • Ignore whitespace
     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