summaryrefslogtreecommitdiffhomepage
path: root/test/test_return.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-03-30 18:44:50 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2020-03-30 18:44:50 +0100
commit5954839773a5c2ab5391ea2d99062de23581eee6 (patch)
tree4ad74c604a7fbf1970e69f9e5ad6435515c2ee2e /test/test_return.py
parent01e957ef64b63403ac2e9107e2a84578d68a09b3 (diff)
downloadunit-5954839773a5c2ab5391ea2d99062de23581eee6.tar.gz
unit-5954839773a5c2ab5391ea2d99062de23581eee6.tar.bz2
Tests: added tests for rational numbers in upstream server weight.
Diffstat (limited to 'test/test_return.py')
-rw-r--r--test/test_return.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_return.py b/test/test_return.py
index e3edb700..bd65b9bb 100644
--- a/test/test_return.py
+++ b/test/test_return.py
@@ -181,7 +181,7 @@ Connection: close
check_error({"return": "200"})
check_error({"return": []})
- check_error({"return": 80.})
+ check_error({"return": 80.1})
check_error({"return": 1000})
check_error({"return": 200, "share": "/blah"})