'``flocker-benchmark hardware-report`` prints a JSON representation of
the hardware on a benchmark node.'

@require_cluster(1)
def test_export(self, cluster):

    node_address = cluster.control_node.public_address
    def run_report():
        output = []
        return run_ssh(self.reactor, 'root', node_address, ['flocker-benchmark', 'hardware-report'], handle_stdout=output.append).addCallback((lambda ignored: ''.join(output)))
    reporting = run_report()
    def check_report(report_bytes):
        json.loads(report_bytes)
    checking = reporting.addCallback(check_report)
    return checking
