Skip to content

test: stop using deprecated FOCA config access #441

Closed

Description

@uniqueg

FOCA deprecated app.config.foca and foca.config.access.get_app_config() (elixir-cloud-aai/foca#716); both are removed with FOCA's first release on ASGI. The app code doesn't use them, but tests/test_gateway.py reads app.config.foca, which now emits a DeprecationWarning with FOCA's dev head (CI ignores it).

Acceptance criteria

  • The tests read the config via get_config() (in the app context of the app under test) instead of config.foca or get_app_config().
  • The suite passes with the pinned FOCA and with FOCA's dev head, without FOCA's deprecation warnings.

Activity

  1. added this to the v0.6.0 milestone on Nov 6, 2026
  2. added
    priority: low
    status: in progress
    type: testing
    workload: minutes
    on Nov 6, 2026
  3. removed
    status: in progress
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowtype: testingworkload: minutes

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions