Show More
@@ -169,7 +169,7 b' class TestLibs(unittest.TestCase):' | |||||
169 | fake = fake_conf(alternative_gravatar_url='http://test.com/{email}') |
|
169 | fake = fake_conf(alternative_gravatar_url='http://test.com/{email}') | |
170 | with mock.patch('pylons.config', fake): |
|
170 | with mock.patch('pylons.config', fake): | |
171 | from pylons import url |
|
171 | from pylons import url | |
172 | assert url.current() == 'http://server.com' |
|
172 | assert url.current() == 'https://server.com' | |
173 | grav = gravatar_url(email_address='test@foo.com', size=24) |
|
173 | grav = gravatar_url(email_address='test@foo.com', size=24) | |
174 | assert grav == 'http://test.com/test@foo.com' |
|
174 | assert grav == 'http://test.com/test@foo.com' | |
175 |
|
175 |
General Comments 0
You need to be logged in to leave comments.
Login now