(self)
| 27 | self.assertEqual((posts, users), (ref.col1[0].table, ref.col2[0].table)) |
| 28 | |
| 29 | def test_project(self) -> None: |
| 30 | results = PyDBML.parse_file(TEST_DOCS_PATH / 'project.dbml') |
| 31 | proj = results.project |
| 32 | self.assertEqual(proj.name, 'project_name') |
| 33 | self.assertEqual(proj.items, {'database_type': 'PostgreSQL'}) |
| 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') |
nothing calls this directly
no test coverage detected