Skip to content

Commit

Permalink
Merge pull request #30 from oarepo/krist/rdm-test-settings
Browse files Browse the repository at this point in the history
additional test rdm settings
  • Loading branch information
mesemus authored Feb 4, 2025
2 parents e063d45 + 37a03ff commit 19cf3d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion oarepo_model_builder_tests/templates/conftest.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ APP_CONFIG = {
"RDM_RECORDS_ALLOW_RESTRICTION_AFTER_GRACE_PERIOD": False,
"RDM_ALLOW_METADATA_ONLY_RECORDS": True,
"RDM_DEFAULT_FILES_ENABLED": False,

"SQLALCHEMY_ENGINE_OPTIONS": { # hack to avoid pool_timeout set in invenio_app_rdm
"pool_pre_ping": False,
"pool_recycle": 3600
},
"REST_CSRF_ENABLED": False
}

@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-model-builder-tests
version = 4.0.11
version = 4.0.12
description =
authors = Ronald Krist <[email protected]>
readme = README.md
Expand Down

0 comments on commit 19cf3d1

Please sign in to comment.