@@ -16,6 +16,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None:
16
16
dataset_id = "test_dataset" ,
17
17
source_url = "https://test-dataset.json" ,
18
18
publisher_name = "test_publisher" ,
19
+ publisher_country = "ab" ,
19
20
license_url = "https://license.com" ,
20
21
license_title = "License" ,
21
22
license_title_short = "L" ,
@@ -31,7 +32,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None:
31
32
expected_dataset = Dataset (
32
33
loaded_at = now ,
33
34
source_url = "https://test-dataset.json" ,
34
- publisher = Publisher (name = "test_publisher" ),
35
+ publisher = Publisher (name = "test_publisher" , country = "ab" ),
35
36
license = License (title = "License" , title_short = "L" , url = "https://license.com" ),
36
37
downloads = [
37
38
Download (format = "json" , url = "https://downloads/test_dataset.json" ),
@@ -66,7 +67,7 @@ def test_get_all_datasets_missing_download_formats(mocker: MockerFixture) -> Non
66
67
expected_dataset = Dataset (
67
68
loaded_at = now ,
68
69
source_url = "https://test-dataset.json" ,
69
- publisher = Publisher (name = "test_publisher" ),
70
+ publisher = Publisher (name = "test_publisher" , country = None ),
70
71
license = License (title = "License" , title_short = "L" , url = "https://license.com" ),
71
72
downloads = [
72
73
Download (format = "json" , url = "https://downloads/test_dataset.json" ),
0 commit comments