

def setup(self):
    self.connection_string = 'sqlite:///:memory:'
    self.series_service = SeriesService(self.connection_string, debug=False)
    self.session = self.series_service._session_factory.get_session()
    engine = self.series_service._session_factory.engine
    test_util.build_db(engine)
    self.series = test_util.add_series(self.session)
    self.export_service = ExportService(engine.series_service)

dataset/ETHPy150Open ODM2/ODMToolsPython/tests/test_odmservices/test_export_service.py TestExportService.setup/VarMisuse@81/104 `self`->`engine`