diff options
| author | Jamie Lennox <jamielennox@redhat.com> | 2014-01-14 11:54:17 +1000 |
|---|---|---|
| committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-01-14 23:27:12 +0100 |
| commit | be9ccb301f95fde988d45ac6abb2c4de4b6871ee (patch) | |
| tree | ee773aea03341ddfd3561d203ee32c1a86953543 /tests/functional | |
| parent | 9f97db1a2f39f26743dda616d89d93d1c5486a2e (diff) | |
| download | httpretty-be9ccb301f95fde988d45ac6abb2c4de4b6871ee.tar.gz | |
Free version requirements
Tests should be run against the latest versions of libraries. Initially
there was going to be a lower bound on requirements but it is unlikely
that a situation will arise where a version is too out of date and can
be added back then rather than having arbitrary minimums.
Diffstat (limited to 'tests/functional')
| -rw-r--r-- | tests/functional/test_requests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/test_requests.py b/tests/functional/test_requests.py index 0a4bf55..721312d 100644 --- a/tests/functional/test_requests.py +++ b/tests/functional/test_requests.py @@ -36,6 +36,7 @@ from httpretty import HTTPretty, httprettified from httpretty.core import decode_utf8 from base import FIXTURE_FILE, use_tornado_server +from tornado import version as tornado_version try: xrange = xrange @@ -698,7 +699,7 @@ def test_recording_calls(): response['response'].should.have.key("status").being.equal(200) response['response'].should.have.key("body").being.an(unicode) response['response'].should.have.key("headers").being.a(dict) - response['response']["headers"].should.have.key("server").being.equal("TornadoServer/2.4") + response['response']["headers"].should.have.key("server").being.equal("TornadoServer/" + tornado_version) def test_playing_calls(): |
