def assert_deb_headers(test_case, expected_headers, package_path):
    output = check_output(
        ['dpkg', '--info', package_path.path]
    )
    actual_headers = parse_colon_dict(output)

    assert_dict_contains(
        test_case, expected_headers, actual_headers, 'Missing dpkg Headers: '
    )
Creates a new download component for downloading directly from
dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_packaging.py/assert_deb_headers--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/external_resource.py/ExternalResource.__init__