Got rid of a whole lot of unneeded mocks in sqlitepersistence's tests and replaced them with calls to unittest.Mock.