@@ -16,6 +16,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None:
1616 dataset_id = "test_dataset" ,
1717 source_url = "https://test-dataset.json" ,
1818 publisher_name = "test_publisher" ,
19+ publisher_country = "ab" ,
1920 license_url = "https://license.com" ,
2021 license_title = "License" ,
2122 license_title_short = "L" ,
@@ -31,7 +32,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None:
3132 expected_dataset = Dataset (
3233 loaded_at = now ,
3334 source_url = "https://test-dataset.json" ,
34- publisher = Publisher (name = "test_publisher" ),
35+ publisher = Publisher (name = "test_publisher" , country = "ab" ),
3536 license = License (title = "License" , title_short = "L" , url = "https://license.com" ),
3637 downloads = [
3738 Download (format = "json" , url = "https://downloads/test_dataset.json" ),
@@ -66,7 +67,7 @@ def test_get_all_datasets_missing_download_formats(mocker: MockerFixture) -> Non
6667 expected_dataset = Dataset (
6768 loaded_at = now ,
6869 source_url = "https://test-dataset.json" ,
69- publisher = Publisher (name = "test_publisher" ),
70+ publisher = Publisher (name = "test_publisher" , country = None ),
7071 license = License (title = "License" , title_short = "L" , url = "https://license.com" ),
7172 downloads = [
7273 Download (format = "json" , url = "https://downloads/test_dataset.json" ),
0 commit comments