Spaces:
Runtime error
Runtime error
Commit ·
d9d1b31
1
Parent(s): d28ead5
Minor Changes
Browse filesFiles changed (2)
8 unmodified lines910111213148 unmodified linessecret_key: stralgorithm: straccess_token_expire_minutes: intclass Config:env_file = ".env"8 unmodified lines91011121314158 unmodified linessecret_key: stralgorithm: straccess_token_expire_minutes: inttest_database_name: strclass Config:env_file = ".env"
8 unmodified lines91011121314158 unmodified linesfrom app.models import PostSQLALCHEMY_DATABASE_URL = f"postgresql://{setting.database_username}:{setting.database_password}@{setting.database_hostname}:{setting.database_port}/{setting.database_name}_test"engine = create_engine(SQLALCHEMY_DATABASE_URL)TestingSessionMaker = sessionmaker(autoflush=False, autocommit=False, bind=engine)8 unmodified lines91011121314158 unmodified linesfrom app.models import PostSQLALCHEMY_DATABASE_URL = f"postgresql://{setting.database_username}:{setting.database_password}@{setting.database_hostname}:{setting.database_port}/{setting.test_database_name}"engine = create_engine(SQLALCHEMY_DATABASE_URL)TestingSessionMaker = sessionmaker(autoflush=False, autocommit=False, bind=engine)
app/config.py+1
tests/conftest.py+1-1