Skip to content

Commit

Permalink
Fix URLs. Now they should be https.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed May 30, 2018
1 parent bc77bb7 commit d354d84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_uploader/test_rackspace_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_rackspace_uploader_lookup_url_returns_failover_url(self, mock):
u.init_app(self.flask_app)
res = u._lookup_url('rackspace', {'filename': filename,
'container': 'user_3'})
failover_url = 'http://localhost/static/img/placeholder.user.png'
failover_url = 'https://localhost/static/img/placeholder.user.png'
err_msg = "We should get the %s but we got %s " % (failover_url, res)
assert res == failover_url, err_msg

Expand All @@ -229,7 +229,7 @@ def test_rackspace_uploader_lookup_url_returns_failover_url_project(self, mock):
u.init_app(self.flask_app)
res = u._lookup_url('rackspace', {'filename': filename,
'container': 'user_3'})
failover_url = 'http://localhost/static/img/placeholder.project.png'
failover_url = 'https://localhost/static/img/placeholder.project.png'
err_msg = "We should get the %s but we got %s " % (failover_url, res)
assert res == failover_url, err_msg

Expand All @@ -249,7 +249,7 @@ def test_rackspace_uploader_lookup_url_returns_failover_url_project_backwards_co
u.init_app(self.flask_app)
res = u._lookup_url('rackspace', {'filename': filename,
'container': 'user_3'})
failover_url = 'http://localhost/static/img/placeholder.project.png'
failover_url = 'https://localhost/static/img/placeholder.project.png'
err_msg = "We should get the %s but we got %s " % (failover_url, res)
assert res == failover_url, err_msg

Expand Down

0 comments on commit d354d84

Please sign in to comment.