Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploys funny paper id changes #445

Merged
merged 10 commits into from
Dec 21, 2023
Merged

deploys funny paper id changes #445

merged 10 commits into from
Dec 21, 2023

Conversation

bdc34
Copy link
Contributor

@bdc34 bdc34 commented Dec 21, 2023

No description provided.

@@ -21,12 +21,18 @@

from tests import path_of_for_test

import browse.services.documents as documents
from browse.services.listing import db_listing

DEFAULT_DB = "sqlite:///../tests/data/browse.db"
TESTING_LATEXML_DB = 'sqlite:///../tests/data/latexmldb.db'


TESTING_CONFIG = {
"SQLALCHEMY_BINDS": {"latexml": TESTING_LATEXML_DB},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this leaves changes to latexmldb.db when I run tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it does. We'll fix that soon.

DEFAULT_DB = "sqlite:///../tests/data/browse.db"
TESTING_LATEXML_DB = 'sqlite:///../tests/data/latexmldb.db'


TESTING_CONFIG = {
"SQLALCHEMY_BINDS": {"latexml": TESTING_LATEXML_DB},
"SQLALCHEMY_DATABASE_URI" : DEFAULT_DB,
'DOCUMENT_LISTING_SERVICE': db_listing,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think this is fully/ properly implemented. I believe tests either use the fake listing service or the file listing service with the listing file path pointing to local test data

@bdc34 bdc34 merged commit 730c2b7 into master Dec 21, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants