Skip to content

Commit

Permalink
Fix type error when copying the config
Browse files Browse the repository at this point in the history
  • Loading branch information
purefunctor committed Jun 14, 2021
1 parent d652026 commit 763b14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_config.py
Expand Up @@ -38,7 +38,7 @@ def test_creates_parent_folders(self, path: Path) -> None:

def test_does_not_override_existing_configuration(self, path: Path) -> None:
"""Test if existing configuration files are preserved."""
config = DEFAULT_CONFIG_FILE.copy()
config = {**DEFAULT_CONFIG_FILE}
config["oauth"]["scope"] = "user-library-read"
path.parent.mkdir(parents=True, exist_ok=True)
with path.open("w") as f:
Expand Down

0 comments on commit 763b14b

Please sign in to comment.