Skip to content

Commit

Permalink
another try to fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-cbarber committed May 4, 2024
1 parent ac9c3f5 commit 72300f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/cli/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,8 @@ def tmp_settings_file(
monkeypatch.setenv("USERPROFILE", str(home.resolve()))

# point settings at location in fake home dir
config_path = user_config_path("whl2conda")
settings_file = config_path / settings.SETTINGS_FILENAME
settings_file.relative_to(home) # no ValueError
settings_file = home / "whl2conda" / "settings.json"
settings_file.relative_to(home) # no ValueError
settings.load(settings_file)
assert settings.settings_file == settings_file
assert not settings_file.exists()
Expand Down

0 comments on commit 72300f3

Please sign in to comment.