def test_headers_values(): headers = [XHeader(name='A', value='a'), XHeader(name='B', value='b')] h = SpamcHeaders(headers=headers) for test_result in h.values(): assert test_result in headers
def test_headers_values(): values = [GenericHeaderValue(value='a'), GenericHeaderValue(value='b')] h = SpamcHeaders(headers={'A': values[0], 'B': values[1]}) for test_result in h.values(): assert test_result in values