@@ -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" ),
@@ -51,6 +52,7 @@ def test_get_all_datasets_missing_download_formats(mocker: MockerFixture) -> Non
51
52
dataset_id = "test_dataset" ,
52
53
source_url = "https://test-dataset.json" ,
53
54
publisher_name = "test_publisher" ,
55
+ publisher_country = "ab" ,
54
56
license_url = "https://license.com" ,
55
57
license_title = "License" ,
56
58
license_title_short = "L" ,
@@ -66,7 +68,7 @@ def test_get_all_datasets_missing_download_formats(mocker: MockerFixture) -> Non
66
68
expected_dataset = Dataset (
67
69
loaded_at = now ,
68
70
source_url = "https://test-dataset.json" ,
69
- publisher = Publisher (name = "test_publisher" ),
71
+ publisher = Publisher (name = "test_publisher" , country = "ab" ),
70
72
license = License (title = "License" , title_short = "L" , url = "https://license.com" ),
71
73
downloads = [
72
74
Download (format = "json" , url = "https://downloads/test_dataset.json" ),
0 commit comments