コード例 #1
0
        def test_remove_timepoint(
            self,
            timepoints,
        ):
            colony = Colony(1, timepoints)
            colony.remove_timepoint(timepoints[0].date_time)

            assert timepoints[0].date_time not in colony.timepoints
コード例 #2
0
        def test_remove_timepoint(self, timepoints):
            colony = Colony(1, timepoints)
            colony.remove_timepoint(timepoints[0].timestamp)

            assert timepoints[0] not in colony.timepoints