Part of lp.codehosting.inmemory View In Hierarchy
This is needed because some of the test_codehosting
tests use
assertSqlAttributeEqualsDate, which relies on ORM behaviour. Here, we fake
enough of the ORM to pass the tests.
Method | __init__ | Undocumented |
Method | find | Implement Store.find that takes two attributes: id and one other. |
This is called by assertSqlAttributeEqualsDate
, which relies on
find
returning either a single match or None. Returning a match
implies that the given attribute has the expected value. Returning
None implies the opposite.