-
Notifications
You must be signed in to change notification settings - Fork 68
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
Conversation
404 response for funny paper id to /abs ARXIVCE-1088
…-without-categories adds . to end of just math archive request
changed urls to 2 digit years for CIT compatibility
@@ -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}, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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
No description provided.