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

Many new unit tests for configuration settings file (pelicanconf.py) (#3357) #3368

Closed
wants to merge 1 commit into from

Commits on Jul 14, 2024

  1. Many new unit tests for configuration settings file (pelicanconf.py)

    - Now reports line number/offset of pelicanconf.py syntax errors
    - Better error messages with full absolute resolved filespec due to:
      - Read-only attribute accidentially used
      - Non-existant file report
    - Prevent clobbering of Python built-in system modules by user's
      custom filename
    - Breakout test_settings.py into smaller and manageable UT files
    -   test_settings.py
    -   test_settings_deprecated.py
    -   test_settings_module.py
    -   test_settings_path.py
    - Start using pytest (test_settings_path.py) instead of unittest
    -
    - Set minimum Python to 3.8 (pytest 4.0)
    egberts committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    764eefc View commit details
    Browse the repository at this point in the history