summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_application.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_python_application.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py
index f54d5803..1a6560e5 100644
--- a/test/test_python_application.py
+++ b/test/test_python_application.py
@@ -238,5 +238,10 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython):
r'\[error\].+the application returned not an iterable object'),
'not iterable')
+ def test_python_application_write(self):
+ self.load('write')
+
+ self.assertEqual(self.get()['body'], '0123456789', 'write')
+
if __name__ == '__main__':
unittest.main()