def assert_rpm_headers(test_case, expected_headers, rpm_path):
    output = check_output(
        ['rpm', '--query', '--info', '--package', rpm_path.path]
    )
    actual_headers = parse_colon_dict(output)

    assert_dict_contains(
        test_case, expected_headers, actual_headers, 'Missing RPM Headers: '
    )
Deletes the user and returns the resulting collection of users.
dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_packaging.py/assert_rpm_headers--crossover with--dataset/ETHPy150Open hvandenb/splunk-elasticsearch/search-elasticsearch/bin/splunklib/client.py/Users.delete