def test_search_any_case():
 result = list(search_packages_info(['PIP']))
 assert (len(result) == 1)
 assert ('pip' == result[0]['name'])

def test_search_any_case ( ) : result = list ( search_packages_info ( [ 'PIP' ] ) ) assert ( len ( result ) == 1 ) assert ( 'pip' == result [ 0 ] [ 'name' ] )
search for a package in any case .