-
Notifications
You must be signed in to change notification settings - Fork 41
CAIP-80 add a few e2e test scenarious #369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| @pytest.fixture | ||
| def bot_config_path(tmp_path: Path): | ||
| key_path = tmp_path / "key.pem" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we'll probably end up having multiple keys/configs to be able to test scenarios that require admin access or config changes. just to keep in mind.
tests/bdk/integration/helpers.py
Outdated
| NUMBER_OF_MESSAGES = 3 | ||
|
|
||
|
|
||
| def generate_config(tmp_dir, bot_username): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add some typing for this function .. since tmp_dir can't be just a str
catalinsymphony
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Description
Closes CAIP-80
This PR adds tests for covering end-to-end scenarios like:
Checklist