Skip to content

Conversation

@ofek1weiss
Copy link
Contributor

@ofek1weiss ofek1weiss commented Feb 4, 2025

null

@linear
Copy link

linear bot commented Feb 4, 2025

@github-actions
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.

2. Adaptive Cards Designer (https://adaptivecards.io/designer/) - useful for checking how cards
look across different products, devices, themes and schema versions
"""

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.

3 participants