diff options
author | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-03-29 19:13:50 -0300 |
---|---|---|
committer | Sriram Viswanathan <sriramv@thoughtworks.com> | 2017-03-29 19:13:50 -0300 |
commit | a02f52c35a7d087ef25a40a2a2275cfd544941ef (patch) | |
tree | 6cf7ed05f0da6afd6d4b99ecad7dd4c4b8cc848f /service/test/unit/config | |
parent | 3616a6b950b0fb9d3e4842f90878d0beb4d5bc3f (diff) |
[#1018] Upgrades twisted from 16.1.1 to 17.1.0
Diffstat (limited to 'service/test/unit/config')
-rw-r--r-- | service/test/unit/config/test_site.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/unit/config/test_site.py b/service/test/unit/config/test_site.py index 896126ec..64a8b68a 100644 --- a/service/test/unit/config/test_site.py +++ b/service/test/unit/config/test_site.py @@ -17,7 +17,7 @@ from twisted.trial import unittest from mock import MagicMock from pixelated.config.site import PixelatedSite -from twisted.protocols.basic import LineReceiver +from twisted.web.test.requesthelper import DummyChannel class TestPixelatedSite(unittest.TestCase): @@ -52,7 +52,7 @@ class TestPixelatedSite(unittest.TestCase): self.assertFalse(request.responseHeaders.hasHeader('Strict-Transport-Security'.lower())) def create_request(self): - channel = LineReceiver() + channel = DummyChannel() channel.site = PixelatedSite(MagicMock()) request = PixelatedSite.requestFactory(channel=channel, queued=True) request.method = "GET" |