8000 Commands: Set configuration file (for tests) · Issue #474 · vcs-python/libvcs · GitHub
[go: up one dir, main page]

Skip to content
Commands: Set configuration file (for tests) #474
Closed
@tony

Description

@tony

Problem

Issue #472 requires session-scoped fixtures.

Currently, we use set_home, gitconfig, and hgconfig to monkeypatch.setenv $HOME, pointing it to a temporary directory with user-specific configuration files. This ensures all subsequent git and hg commands automatically load these configurations.

However, monkeypatch.setenv doesn't work with function-scoped fixtures.

Proposal

Environment Variables

  • GIT_CONFIG
  • HGRCPATH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0