Version up, thanks to @orenyomtov and @Abhinav2812

Also fixed `Client.isLoggedIn`
This commit is contained in:
Mads Marquart
2018-05-18 17:35:03 +02:00
parent ffa26c20b5
commit 38f66147cb
4 changed files with 7 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ class TestFbchat(unittest.TestCase):
self.assertIsNotNone(client.send(Message(sticker=Sticker(test_sticker_id))))
def test_sendImages(self):
image_url = 'https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-image-128.png'
image_url = 'https://github.com/carpedm20/fbchat/raw/master/tests/image.png'
image_local_url = path.join(path.dirname(__file__), 'tests/image.png')
for thread in threads:
client.setDefaultThread(thread_id=thread['id'], thread_type=thread['type'])