Skip to content

Commit 6662b3d

Browse files
Rename test_can_read_env_variable so it has 'toml' in it
It permits to launch the toml test easily with pytest -k toml
1 parent 23b7a5d commit 6662b3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/config/test_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def test_can_read_toml_rich_types(tmp_path: PosixPath) -> None:
9999
check_configuration_file_reader(config_file)
100100

101101

102-
def test_can_read_env_variable(tmp_path: PosixPath) -> None:
102+
def test_can_read_toml_env_variable(tmp_path: PosixPath) -> None:
103+
"""We can read and open a properly formatted toml file."""
103104
config_file = tmp_path / "pyproject.toml"
104105
config_file.write_text(
105106
"""

0 commit comments

Comments
 (0)