(odb: Odb)
| 102 | |
| 103 | |
| 104 | def test_write(odb: Odb) -> None: |
| 105 | data = b'hello world' |
| 106 | # invalid object type |
| 107 | with pytest.raises(ValueError): |
| 108 | odb.write(ObjectType.ANY, data) |
| 109 | |
| 110 | oid = odb.write(ObjectType.BLOB, data) |
| 111 | assert type(oid) is Oid |
nothing calls this directly
no test coverage detected
searching dependent graphs…