def test_static(self):
     path = export.fetch_resources(STATIC_IMAGE_URL, '')
     self.assertTrue(path.endswith('yeswecode.jpg'))
 def test_unfound(self):
     path = export.fetch_resources('BAD_URL', '')
     self.assertEqual(path, '')
 def test_media(self):
     path = export.fetch_resources(MEDIA_IMAGE_URL, '')
     self.assertTrue(path.endswith('avatar.png'))