In medicine, the poppy seed test is a diagnostic test used before surgery to predict if surgery will find a vesicointestinal fistula or colovesical fistula (an abnormal direct pathway between the colon and urinary bladder) or other type of vesicointestinal fistula.