def test_stats_get_utilization(parent=PARENT, hosts=HOSTS):
    expected = '10.47.216.0/22 - 14% used (139), 86% free (885)'
    output = stats.calculate_network_utilization(parent, hosts, as_string=True)

    assert output == expected
Make sure that getting network utilization stats is accurate.
dataset/ETHPy150Open dropbox/nsot/tests/api_tests/test_util.py/test_stats_get_utilization