def METHOD_NAME(expected_response):
    response = mlrun.get_run_db().list_hub_sources()
    exclude_paths = [
        "root['source']['metadata']['updated']",
        "root['source']['metadata']['created']",
    ]
    for i in range(len(expected_response)):
        assert (
            deepdiff.DeepDiff(
                expected_response[i].dict(),
                response[i].dict(),
                exclude_paths=exclude_paths,
            )
            == {}
        )