Skip to content

Commit

Permalink
Rename test_can_read_env_variable so it has 'toml' in it
Browse files Browse the repository at this point in the history
It permits to launch the toml test easily with pytest -k toml
  • Loading branch information
Pierre-Sassoulas committed Nov 8, 2021
1 parent e9bd0a5 commit 35cdd07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/config/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def test_can_read_toml_rich_types(tmp_path: PosixPath) -> None:
check_configuration_file_reader(config_file)


def test_can_read_env_variable(tmp_path: PosixPath) -> None:
def test_can_read_toml_env_variable(tmp_path: PosixPath) -> None:
"""We can read and open a properly formatted toml file."""
config_file = tmp_path / "pyproject.toml"
config_file.write_text(
"""
Expand Down

0 comments on commit 35cdd07

Please sign in to comment.