def test_find_all_candidates_nothing(data):
 finder = PackageFinder([], [], session=PipSession())
 assert (not finder.find_all_candidates('pip'))

def test_find_all_candidates_nothing ( data ) : finder = PackageFinder ( [ ] , [ ] , session = PipSession ( ) ) assert ( not finder . find_all_candidates ( 'pip' ) )
find nothing without anything .