holger krekel avatar holger krekel committed 7525e60

remove some lingering "post" code

Comments (0)

Files changed (3)

tests/test_config.py

         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("""
         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"
     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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.