111
112
FakeSoupMessage('friends.tests.data', 'ubuntu.png'))
112
113
def test_cache_file_contains_image(self):
113
114
# The image is preserved in the cache file.
115
118
path = Avatar.get_image('http://example.com')
116
119
# The image must have been downloaded at least once.
117
120
pixbuf = GdkPixbuf.Pixbuf.new_from_file(path)