def assert_rpm_content(test_case, expected_paths, package_path):
    output = check_output(
        ['rpm', '--query', '--list', '--package', package_path.path]
    )
    actual_paths = set(map(FilePath, output.splitlines()))
    test_case.assertEqual(expected_paths, actual_paths)
True if path contains query string ('?' part).
dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_packaging.py/assert_rpm_content--crossover with--dataset/ETHPy150Open wrr/wwwhisper/wwwhisper_auth/url_utils.py/contains_query