[GRASS-git] [OSGeo/grass] 1ece3b: grass.gunittest: Fix fail with no config (#2180)

Vaclav Petras noreply at github.com
Mon Feb 7 17:59:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 1ece3bc558d83d237d15cfa05941f837b6af757f
      https://github.com/OSGeo/grass/commit/1ece3bc558d83d237d15cfa05941f837b6af757f
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
    M python/grass/gunittest/main.py

  Log Message:
  -----------
  grass.gunittest: Fix fail with no config (#2180)

Adds an empty section to the parser when no config file is available and returning the section proxy instead of returning and empty dict which has a different API than the section proxy.

Fixes an issue introduced in #2172 which shows in grass-addons CI.




More information about the grass-commit mailing list