It will be understood that in this particular application, the embodiment of the closure device is particularly well adapted for use with a peristaltic pump, since the device is reduced to no more than two parts that are very simple, using one of the nozzles of the peristaltic pump as a fixing member for one of the parts of the closure device and the other nozzle of the peristaltic pump as a pivot