Skip to content

Commit aabeae3

Browse files
tunakasifLee-W
authored andcommitted
refactor(tests): increase verbosity of variables
To add more test variables, increase the verbosity of current ones and make them more clear.
1 parent 72c2743 commit aabeae3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/providers/test_cargo_provider.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
version = "0.1.0"
1616
"""
1717

18-
CARGO_EXPECTED = """\
18+
CARGO_TOML_EXPECTED = """\
1919
[package]
2020
name = "whatever"
2121
version = "42.1"
@@ -27,7 +27,7 @@
2727
version = "0.1.0"
2828
"""
2929

30-
CARGO_WORKSPACE_EXPECTED = """\
30+
CARGO_WORKSPACE_TOML_EXPECTED = """\
3131
[workspace.package]
3232
name = "whatever"
3333
version = "42.1"
@@ -37,8 +37,8 @@
3737
@pytest.mark.parametrize(
3838
"content, expected",
3939
(
40-
(CARGO_TOML, CARGO_EXPECTED),
41-
(CARGO_WORKSPACE_TOML, CARGO_WORKSPACE_EXPECTED),
40+
(CARGO_TOML, CARGO_TOML_EXPECTED),
41+
(CARGO_WORKSPACE_TOML, CARGO_WORKSPACE_TOML_EXPECTED),
4242
),
4343
)
4444
def test_cargo_provider(

0 commit comments

Comments
 (0)