summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_application.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_python_application.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py
index 5b6e2089..8632621c 100644
--- a/test/test_python_application.py
+++ b/test/test_python_application.py
@@ -130,6 +130,18 @@ class TestPythonApplication(TestApplicationPython):
self.get()['headers']['Server-Port'], '7080', 'Server-Port header'
)
+ @unittest.skip('not yet')
+ def test_python_application_working_directory_invalid(self):
+ self.load('empty')
+
+ self.assertIn(
+ 'success',
+ self.conf('"/blah"', 'applications/empty/working_directory'),
+ 'configure invalid working_directory',
+ )
+
+ self.assertEqual(self.get()['status'], 500, 'status')
+
def test_python_application_204_transfer_encoding(self):
self.load('204_no_content')