def test_get_testrail_keys(pytest_test_items, testdir): assert plugin.get_testrail_keys(pytest_test_items) == [ 1234, 5678, 8765, 4321 ]
def test_get_testrail_keys(pytest_test_items, testdir): items = plugin.get_testrail_keys(pytest_test_items) assert list(items[0][1]) == [1234, 5678] assert list(items[1][1]) == [8765, 4321]
def test_get_testrail_keys(pytest_test_items, testdir): assert plugin.get_testrail_keys(pytest_test_items) == [1234, 5678]