Reworked old events, added deprecation warnings, and improved _send
- Added a new system to show an error if old events are used - Removed `test_data.json`, since I don't want to risk that anyone accidentally commits their username & password - Finished work on `sendEmoji` - Split `_send` into two parts: `_getSendData` and `_doSendRequest`, which allows for an easier way of adding new send requests
This commit is contained in:
9
tests.py
9
tests.py
@@ -18,7 +18,14 @@ logging.basicConfig(level=logging.INFO)
|
||||
Tests for fbchat
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
To use these tests, fill in test_data.json or type this information manually in the terminal prompts.
|
||||
To use these tests, make a json file called test_data.json, put this example in it, and fill in the gaps:
|
||||
{
|
||||
"email": "example@email.com",
|
||||
"password": "example_password",
|
||||
"group_thread_id": 0,
|
||||
"user_thread_id": 0
|
||||
}
|
||||
or type this information manually in the terminal prompts.
|
||||
|
||||
- email: Your (or a test user's) email / phone number
|
||||
- password: Your (or a test user's) password
|
||||
|
Reference in New Issue
Block a user