(self)
| 34 | self.assertEqual(proj.note.text, 'Description of the project') |
| 35 | |
| 36 | def test_table_definition(self) -> None: |
| 37 | results = PyDBML.parse_file(TEST_DOCS_PATH / 'table_definition.dbml') |
| 38 | self.assertEqual(len(results.tables), 1) |
| 39 | self.assertEqual(results.tables[0].name, 'table_name') |
| 40 | |
| 41 | table = results.tables[0] |
| 42 | self.assertEqual([c.name for c in table.columns], ['column_name', 'example', 'json_column', 'jsonb_column', 'decimal_column']) |
| 43 | |
| 44 | def test_table_alias(self) -> None: |
| 45 | results = PyDBML.parse_file(TEST_DOCS_PATH / 'table_alias.dbml') |
nothing calls this directly
no test coverage detected