Skip to content
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

Ele 4029 slack message blocks #1798

Merged
merged 6 commits into from
Feb 10, 2025
Merged

Conversation

ofek1weiss
Copy link
Contributor

@ofek1weiss ofek1weiss commented Feb 4, 2025

null

Copy link

linear bot commented Feb 4, 2025

Copy link
Contributor

github-actions bot commented Feb 4, 2025

👋 @ofek1weiss
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

@@ -10,28 +10,13 @@

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved all test logic to base_test_format.py

@@ -0,0 +1,327 @@
from abc import abstractmethod
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adapted from test_adaptive_cards.py

secondary_facts.append(current_fact)
self._add_secondary_facts(secondary_facts)

def _add_divider_block(self, block: DividerBlock) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to get the block?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its not necessary, but it think it makes more sense for this function to decide that it isn't

@MikaKerman
Copy link
Contributor

@ofek1weiss What about adding tests to the alerts message builder?

@ofek1weiss
Copy link
Contributor Author

@ofek1weiss What about adding tests to the alerts message builder?

The message builder did not exist at the time, will do

@ofek1weiss ofek1weiss merged commit 912546c into master Feb 10, 2025
4 checks passed
@ofek1weiss ofek1weiss deleted the ele-4029-slack-message-blocks branch February 10, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants