Fix parametrize warning in unit tests.
(cherry picked from commit 1a28898a00
)
This commit is contained in:
parent
7ce940cb41
commit
24324cbca8
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,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
|
||||
|
||||
|
|
Loading…
Reference in a new issue