def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def test_disk_usage_sensor_is_stateless():
    sensor = disk_usage.DiskUsage()
    ok_([] != sensor.measure())