new_contents: # -*- coding: utf-8 -*-
  from pytest import fixture
  
  
  @fixture
  def f_session(request):
      with app.test_request_context() as _ctx:
          Session = sessionmaker(autocommit=False, autoflush=False)
          app.config['DATABASE_URL'] = 'sqlite:///test.db'
          engine = get_engine(app)
          Base.metadata.create_all(engine)
          _ctx.push()
          session = Session(bind=engine)
          setattr(g, 'sess', session)
          def finish():
              session.close()
              Base.metadata.drop_all(engine)
              engine.dispose()
  
          request.addfinalizer(finish)
          return session
  
subject: Add basic test configuration