Commits

Alex Gaynor  committed 3949932

Fix for people using comcast (sigh).

  • Participants
  • Parent commits 2cf522f

Comments (0)

Files changed (2)

            help=("set gateway setup scope, default: session."))
     group.addoption('--pypy', action="store_true", dest="pypy",
            help=("run some tests also against pypy-c"))
+    group.addoption('--broken-isp', action="store_true", dest="broken_isp",
+            help=("Skips tests that assume your ISP doesn't put up a landing "
+                "page on invalid addresses"))
 
 def pytest_report_header(config):
     lines = []

File testing/test_gateway.py

         """)
         py.test.raises(channel.RemoteError, channel.receive)
 
+@py.test.mark.skipif("config.option.broken_isp")
 def test_socket_gw_host_not_found(gw):
     py.test.raises(execnet.HostNotFound,
             'execnet.makegateway("socket=qwepoipqwe:9000")'