Skip to content

Regression tests for share path coverage and avoid_list #85

@blinkerbit

Description

@blinkerbit

Source: gitlab-issues-export.md (Issue 5)

Weight: 2

Problem / context

Past reviews flagged static-share avoid_list interactions with path coverage. Logic in share_covers_relative_path was adjusted; coverage should be locked in tests to prevent regressions.

Suggested approach / acceptance criteria

  • Tests in tests/test_database_shares.py (or adjacent): static + dynamic + tag shares with avoid_list / allow_list ensuring excluded files are not served as in-share.
  • Include at least one direct file URL style relative path if applicable to handler routes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendImported from GitLab export mappingtestingTesting-related issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions