mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix parametrize warning in unit tests.
This commit is contained in:
parent
e5878d19de
commit
1a28898a00
1 changed files with 1 additions and 1 deletions
|
@ -965,7 +965,7 @@ PRIVACY_POLICY_URL="http://www.intel.com/privacy"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("stdin, testcase", product([{}], TESTSETS), ids=lambda x: x['name'], indirect=['stdin'])
|
@pytest.mark.parametrize("stdin, testcase", product([{}], TESTSETS), ids=lambda x: x.get('name'), indirect=['stdin'])
|
||||||
def test_distribution_version(am, mocker, testcase):
|
def test_distribution_version(am, mocker, testcase):
|
||||||
"""tests the distribution parsing code of the Facts class
|
"""tests the distribution parsing code of the Facts class
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue