-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Missing unit test for DEFAULT_CONFIG and read_settings()
comparison
#3372
Comments
read_settings()
comparison; `[pages]' missing.read_settings()
comparison
Wow, a 10-year old quickfix by @smartass101 in #1322 over at https://github.com/getpelican/pelican/blame/513abbfdc668946590194c637dbe90ec228aaf6f/pelican/tests/test_settings.py#L51 Thinking.... This is that moment the |
Looks pretty safe to bootstrap this Agreeing to this doesn't mean fix it, because |
Slightly off-topic: Let us keep in mind that Only a By dealing with this issue's |
Issue
There were several
Settings
items that are drastically different between theDEFAULT_CONFIG
and theread_settings()
that needs to be resolved before passing a completely brand-new unit test:An "ideal" passing unit test between
DEFAULT_CONFIG
andread_settings()
entails:The above "ideal" unit test is not passing.
A helper function assist with identification of the differences in
Settings
:I need to know from the Pelican community if
DEFAULT_CONFIG
update is an acceptable approach, DERIVING from the passing solution given below:To make that particular unit test into a passing test, the following tweaks to the modified unit test is necessary:
Platform
Click to expand
Platform
The text was updated successfully, but these errors were encountered: