Skip to content

Commit

Permalink
Changesrequested by @neersighted during CR
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus committed May 19, 2022
1 parent 970b72a commit 7f9a217
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Defaults to `{cache-dir}/virtualenvs` (`{cache-dir}\virtualenvs` on Windows).

**Type**: string

Name of the command line prompt to be displayed when the virtual enviroment is activated.
Format string defining the prompt to be displayed when the virtual environment is activated.
The variables `project_name` and `python_version` are available for formatting.
Defaults to `"{project_name}-py{python_version}"`.

Expand Down
3 changes: 1 addition & 2 deletions tests/console/commands/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def test_list_displays_default_value_if_not_set(
tester: CommandTester, config: Config, config_cache_dir: Path
):
tester.execute("--list")
print(config_cache_dir)
print(config.config)

cache_dir = json.dumps(str(config_cache_dir))
venv_path = json.dumps(os.path.join("{cache-dir}", "virtualenvs"))
expected = f"""cache-dir = {cache_dir}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ Home-page: https://github.com/demo/demo
Author: Sébastien Eustace
Author-email: sebastien@eustace.io
License: MIT
Platform: UNKNOWN
Provides-Extra: foo
Provides-Extra: bar

0 comments on commit 7f9a217

Please sign in to comment.