I have a url dictionary and tuple:
url = {'url': 'https://test.com'}
expected = (0, "Test")
I need to zip the two objects together into 1 tuple so I can pass it into pytest parametrize as:
({'url': 'https://test.com'}, 0, "Test")
However my output when I try using zip(url, expected)
is giving me strange outputs like:
('url', 0)
Can someone advise how I can do this? I've tried using zip(url, *expected)
as well but that did not work either. Thank you