(self)
| 647 | |
| 648 | class HeaderBlockTests(unittest.TestCase): |
| 649 | def test_document(self): |
| 650 | input = { |
| 651 | "type": "header", |
| 652 | "block_id": "budget-header", |
| 653 | "text": {"type": "plain_text", "text": "Budget Performance"}, |
| 654 | } |
| 655 | self.assertDictEqual(input, HeaderBlock(**input).to_dict()) |
| 656 | self.assertDictEqual(input, Block.parse(input).to_dict()) |
| 657 | |
| 658 | def test_text_length_150(self): |
| 659 | input = { |
nothing calls this directly
no test coverage detected