Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aabeae3

Browse filesBrowse 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
Copy full SHA for aabeae3

File tree

1 file changed

+4
-4
lines changed
Filter options

1 file changed

+4
-4
lines changed

‎tests/providers/test_cargo_provider.py

Copy file name to clipboardExpand all lines: tests/providers/test_cargo_provider.py
+4-4Lines changed: 4 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.