def __repr__(self):
        return "<NamedRequirements({}{})>".format(
            self.name,
            ", filename='{}'".format(self.filename.name) if self.filename
            else "")
def test_disk_usage_sensor_is_stateless():
    sensor = disk_usage.DiskUsage()
    ok_([] != sensor.measure())