A CGCBundle whose only real behaviour is its backend type.
(backend: str)
| 23 | |
| 24 | |
| 25 | def _bundle(backend: str) -> CGCBundle: |
| 26 | """A CGCBundle whose only real behaviour is its backend type.""" |
| 27 | db_manager = MagicMock() |
| 28 | db_manager.get_backend_type.return_value = backend |
| 29 | return CGCBundle(db_manager) |
| 30 | |
| 31 | |
| 32 | def _edge(from_id: str, to_id: str) -> dict: |
no test coverage detected