Test if objects can be retrieved correctly using their IDs.
(create_objects)
| 63 | |
| 64 | |
| 65 | def test_object_lookup(create_objects): |
| 66 | """Test if objects can be retrieved correctly using their IDs.""" |
| 67 | a1, a2, b1 = create_objects |
| 68 | assert ObjectRegistry.get(a1.id) is a1, "Lookup for A1 should return A1" |
| 69 | assert ObjectRegistry.get(a2.id) is a2, "Lookup for A2 should return A2" |
| 70 | assert ObjectRegistry.get(b1.id) is b1, "Lookup for B1 should return B1" |
| 71 | |
| 72 | |
| 73 | def test_a_to_a_links(create_objects): |
nothing calls this directly
no test coverage detected
searching dependent graphs…