summaryrefslogtreecommitdiff
path: root/cloudinit/tests/test_url_helper.py
diff options
context:
space:
mode:
authorEric Lafontaine <eric.lafontaine@bell.ca>2019-12-03 16:45:14 -0500
committerChad Smith <chad.smith@canonical.com>2019-12-03 14:45:14 -0700
commitc4735dd37c89f12569093e5d18e13493cae1ee0b (patch)
tree70b4f403ee92a52de80caf6fa787a124585759d2 /cloudinit/tests/test_url_helper.py
parentf69d33a723b805fec3ee70c3a6127c8cadcb02d8 (diff)
downloadvyos-cloud-init-c4735dd37c89f12569093e5d18e13493cae1ee0b.tar.gz
vyos-cloud-init-c4735dd37c89f12569093e5d18e13493cae1ee0b.zip
Fix linting failure in test_url_helper (#83)
Diffstat (limited to 'cloudinit/tests/test_url_helper.py')
-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',