summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/tests/test_url_helper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/tests/test_url_helper.py b/cloudinit/tests/test_url_helper.py
index e883ddc2..1674120f 100644
--- a/cloudinit/tests/test_url_helper.py
+++ b/cloudinit/tests/test_url_helper.py
@@ -98,6 +98,7 @@ class TestReadFileOrUrl(CiTestCase):
m_response = mock.MagicMock()
class FakeSession(requests.Session):
+ @classmethod
def request(cls, **kwargs):
self.assertEqual(
{'url': url, 'allow_redirects': True, 'method': 'GET',