Skip to content

Commit

Permalink
Updatet unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Aug 15, 2022
1 parent 623ace0 commit d2fd7ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/slack_sdk/models/test_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def test_json(self):
ActionsBlock(elements=self.elements).to_dict(),
)
with self.assertRaises(SlackObjectFormationError):
ActionsBlock(elements=self.elements * 3).to_dict()
ActionsBlock(elements=self.elements * 13).to_dict()

def test_element_parsing(self):
elements = [
Expand Down
2 changes: 1 addition & 1 deletion tests/web/classes/test_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def test_json(self):
ActionsBlock(elements=self.elements).to_dict(),
)
with self.assertRaises(SlackObjectFormationError):
ActionsBlock(elements=self.elements * 3).to_dict()
ActionsBlock(elements=self.elements * 13).to_dict()


# ----------------------------------------------
Expand Down

0 comments on commit d2fd7ac

Please sign in to comment.