def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def test_disk_usage_sensor_is_stateless():
    sensor = disk_usage.DiskUsage()
    ok_([] != sensor.measure())