http -> https
This commit is contained in:
parent
52636b6764
commit
cb1f760731
2
COPYING
2
COPYING
|
@ -1,6 +1,6 @@
|
|||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
https://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
|
|
|
@ -830,7 +830,7 @@ class _Request(object):
|
|||
|
||||
try:
|
||||
conn.request(
|
||||
method='POST', url="http://" + HOST_NAME + HOST_SUBDIR,
|
||||
method='POST', url="https://" + HOST_NAME + HOST_SUBDIR,
|
||||
body=data, headers=headers)
|
||||
except Exception as e:
|
||||
raise NetworkError(self.network, e)
|
||||
|
|
|
@ -213,7 +213,7 @@ class TestPyLastArtist(PyLastTestCase):
|
|||
name_cap = artist1.get_name(properly_capitalized=True)
|
||||
|
||||
# Assert
|
||||
self.assertIn("http", image)
|
||||
self.assertIn("https", image)
|
||||
self.assertGreater(playcount, 1)
|
||||
self.assertTrue(artist1 != artist2)
|
||||
self.assertEqual(name.lower(), name_cap.lower())
|
||||
|
|
Loading…
Reference in a new issue