示例#1
0
 def create_db_session(uri):
     return get_scoped_session_facade(uri)
 def test(self):
     stored_event_repo = SQLAlchemyStoredEventRepository(get_scoped_session_facade('sqlite:///:memory:'))
     self.assertStoredEventRepositoryImplementation(stored_event_repo)