summaryrefslogtreecommitdiff
path: root/tests/test_cgiapp.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2008-11-22 02:23:13 +0000
committerpjenvey <devnull@localhost>2008-11-22 02:23:13 +0000
commit07447e63c373b6a0e235e360af830e4b857654b3 (patch)
treec38e58cae90cd58ccd568717099252dd198dfe3f /tests/test_cgiapp.py
parenta10d4200a023a7fb4eaaabfeac097e96965a74ef (diff)
downloadpaste-07447e63c373b6a0e235e360af830e4b857654b3.tar.gz
skip test_cgiapp on Jython
Diffstat (limited to 'tests/test_cgiapp.py')
-rw-r--r--tests/test_cgiapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_cgiapp.py b/tests/test_cgiapp.py
index 8b96e43..14106c8 100644
--- a/tests/test_cgiapp.py
+++ b/tests/test_cgiapp.py
@@ -6,7 +6,8 @@ from paste.fixture import *
data_dir = os.path.join(os.path.dirname(__file__), 'cgiapp_data')
-if sys.platform != 'win32': # these CGI scripts can't work on Windows
+# these CGI scripts can't work on Windows or Jython
+if sys.platform != 'win32' and not sys.platform.startswith('java'):
def test_ok():
app = TestApp(CGIApplication({}, script='ok.cgi', path=[data_dir]))
res = app.get('')