mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix parametrize warning in unit tests.
This commit is contained in:
@@ -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):
|
||||
"""tests the distribution parsing code of the Facts class
|
||||
|
||||
|
||||
Reference in New Issue
Block a user