fix dye's pytest return value